public class MkdirJob
extends java.lang.Object
implements java.lang.Runnable, java.io.Serializable
<oddjob id="this"> <job> <mkdir dir="${this.args[0]}/a/b/c"/> </job> </oddjob>
Constructor and Description |
---|
MkdirJob() |
Modifier and Type | Method and Description |
---|---|
java.io.File |
getDir()
Get the file.
|
java.lang.String |
getName()
Get the name.
|
void |
run() |
void |
setDir(java.io.File file)
Set the file.
|
void |
setName(java.lang.String name)
Set the name
|
java.lang.String |
toString() |
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name.public java.io.File getDir()
public void setDir(java.io.File file)
The
- file.public void run()
run
in interface java.lang.Runnable
public java.lang.String toString()
toString
in class java.lang.Object