Mkdir (Apache Ant API)
Keywords: org.apache.tools.ant.taskdefs.Mkdir class

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

public class Mkdir
extends Task

Creates a given directory. Creates a directory and any non-existent parent directories, when necessary

Since:
  Ant 1.1
Author:
  duncan@x180.com

Field Summary

Fields inherited from class org.apache.tools.ant.Task
`description, location, target, taskName, taskType, wrapper`

Fields inherited from class org.apache.tools.ant.ProjectComponent
`project`

Constructor Summary
`Mkdir()`

Method Summary
`void` | `execute()` create the directory and all parents
`void` | `setDir(java.io.File dir)` the directory to create; required.

Methods inherited from class org.apache.tools.ant.Task
`getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName`

Methods inherited from class org.apache.tools.ant.ProjectComponent
`getProject, setProject`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Mkdir

    public Mkdir()

Method Detail

### execute

    public void execute()
                 throws BuildException

  create the directory and all parents

  Overrides:
    `execute` in class `Task`
  Throws:
    `BuildException` - if dir is somehow invalid, or creation failed.

### setDir

    public void setDir(java.io.File dir)

  the directory to create; required.

  Parameters:
    `dir` -

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2003 Apache Software Foundation. All Rights Reserved.