org.apache.tools.ant.types.optional
public class ScriptFilter extends TokenFilter.ChainableReaderFilter
Since: Ant 1.6
Method Summary | |
---|---|
void | addText(String text)
The script text.
|
String | filter(String token)
Called filter the token.
|
String | getToken()
The current token
|
void | setLanguage(String language)
Defines the language (required).
|
void | setSrc(File file)
Load the script from an external file ; optional.
|
void | setToken(String token)
The current token
|
Parameters: text a component of the script text to be added.
Parameters: token the token to be filtered
Returns: the filtered token
Returns: the string filtered by the script
Parameters: language the scripting language name for the script.
Parameters: file the file containing the script source.
Parameters: token the string filtered by the script