| |
|
| java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.util.StringTokenizer
StringTokenizer | public class StringTokenizer extends ProjectComponent implements Tokenizer(Code) | | Class to tokenize the input as areas separated
by white space, or by a specified list of
delim characters. Behaves like java.util.StringTokenizer.
If the stream starts with delim characters, the first
token will be an empty string (unless the treat delims
as tokens flag is set).
since: Ant 1.7 |
getPostToken | public String getPostToken()(Code) | | the intratoken string |
setDelims | public void setDelims(String delims)(Code) | | attribute delims - the delimiter characters
Parameters: delims - a string containing the delimiter characters |
setDelimsAreTokens | public void setDelimsAreTokens(boolean delimsAreTokens)(Code) | | attribute delimsaretokens - treat delimiters as
separate tokens.
Parameters: delimsAreTokens - true if delimiters are to be separate |
setIncludeDelims | public void setIncludeDelims(boolean includeDelims)(Code) | | attribute includedelims - treat delimiters as part
of the token.
default - false
Parameters: includeDelims - if true add delimiters to the token |
setSuppressDelims | public void setSuppressDelims(boolean suppressDelims)(Code) | | attribute suppressdelims - suppress delimiters.
default - false
Parameters: suppressDelims - if true do not report delimiters |
|
|
|