Package org.apache.tools.ant.taskdefs
Class Mkdir
- java.lang.Object
- 
- org.apache.tools.ant.ProjectComponent
- 
- org.apache.tools.ant.Task
- 
- org.apache.tools.ant.taskdefs.Mkdir
 
 
 
- 
- All Implemented Interfaces:
- java.lang.Cloneable
 
 public class Mkdir extends Task Creates a given directory. Creates a directory and any non-existent parent directories, when necessary- Since:
- Ant 1.1
 
- 
- 
Field Summary- 
Fields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
 
- 
 - 
Constructor SummaryConstructors Constructor Description Mkdir()
 - 
Method Summary- 
Methods inherited from class org.apache.tools.ant.TaskbindToOwner, 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.ProjectComponentclone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
- 
 
- 
- 
- 
Method Detail- 
executepublic void execute() throws BuildExceptioncreate the directory and all parents- Overrides:
- executein class- Task
- Throws:
- BuildException- if dir is somehow invalid, or creation failed.
 
 - 
setDirpublic void setDir(java.io.File dir) the directory to create; required.- Parameters:
- dir- the directory to be made.
 
 - 
getDirpublic java.io.File getDir() Get the directory to create.- Returns:
- File
 
 
- 
 
-