|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.jcommando.ant.JCommando
| 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 | |
JCommando()
Task constructor. |
|
| Method Summary | |
void |
execute()
Executes the ant task. |
void |
setClassname(java.lang.String clazz)
Set the name of the generated class. |
void |
setDestdir(java.lang.String dest)
Set the destination directory. |
void |
setInputFile(java.lang.String file)
Set the source command file. |
void |
setPackageName(java.lang.String pkg)
Set the package name. |
| Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| 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 |
public JCommando()
| Method Detail |
public void setDestdir(java.lang.String dest)
dest - the name of the destination directorypublic void setInputFile(java.lang.String file)
file - the name of the source filepublic void setClassname(java.lang.String clazz)
clazz - the name of the parser class to generatepublic void setPackageName(java.lang.String pkg)
pkg - the name of package the generated class should reside inpublic void execute()
Task.execute()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||