org.apache.tools.ant.taskdefs.optional
Class Script
Executes a script.
void | addText(String text)- Set the script text.
|
void | execute()- Do the work.
|
void | setLanguage(String language)- Defines the language (required).
|
void | setSrc(String fileName)- Load the script from an external file ; optional.
|
execute, 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 |
addText
public void addText(String text)
Set the script text.
text - a component of the script text to be added.
setLanguage
public void setLanguage(String language)
Defines the language (required).
language - the scripting language name for the script.
setSrc
public void setSrc(String fileName)
Load the script from an external file ; optional.
fileName - the name of the file containing the script source.
Copyright B) 2000-2006 Apache Software Foundation. All Rights Reserved.