org.mule.tools.anttasks
Class FileChecker

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.mule.tools.anttasks.FileChecker
All Implemented Interfaces:
Cloneable

public class FileChecker
extends org.apache.tools.ant.Task

Check file parameters to Ant tasks


Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, project
 
Constructor Summary
FileChecker(org.apache.tools.ant.Location location)
          Create a FileChecker
 
Method Summary
 void checkFile(File file, String parameterName, boolean isDirectory, boolean needWrite)
          Check that a specified file parameter is valid
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, execute, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileChecker

public FileChecker(org.apache.tools.ant.Location location)
Create a FileChecker

Method Detail

checkFile

public void checkFile(File file,
                      String parameterName,
                      boolean isDirectory,
                      boolean needWrite)
               throws org.apache.tools.ant.BuildException
Check that a specified file parameter is valid

Throws:
org.apache.tools.ant.BuildException


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.