org.apache.commons.vfs2.tasks
Class MkdirTask

java.lang.Object
  extended by Task
      extended by org.apache.commons.vfs2.tasks.VfsTask
          extended by org.apache.commons.vfs2.tasks.MkdirTask

public class MkdirTask
extends VfsTask

An Ant task that creates a directory.

Author:
Commons VFS team

Constructor Summary
MkdirTask()
           
 
Method Summary
 void execute()
          Executes the task.
 void setDir(java.lang.String dir)
          Sets the directory to create.
 
Methods inherited from class org.apache.commons.vfs2.tasks.VfsTask
closeManager, resolveFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MkdirTask

public MkdirTask()
Method Detail

setDir

public void setDir(java.lang.String dir)
Sets the directory to create.

Parameters:
dir - The directory name.

execute

public void execute()
             throws BuildException
Executes the task.

Throws:
BuildException - if an exception occurs.