Class TokenFilter.StringTokenizer
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.util.StringTokenizer
org.apache.tools.ant.filters.TokenFilter.StringTokenizer
- Enclosing class:
TokenFilter
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.6
-
Field Summary
Fields inherited from class ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class StringTokenizer
getPostToken, getToken, setDelims, setDelimsAreTokens, setIncludeDelims, setSuppressDelimsModifier and TypeMethodDescriptionreturn the string between tokens, after the previous token.find and return the next tokenvoidattribute delims - the delimiter charactersvoidsetDelimsAreTokens(boolean delimsAreTokens) attribute delimsaretokens - treat delimiters as separate tokens.voidsetIncludeDelims(boolean includeDelims) attribute includedelims - treat delimiters as part of the token.voidsetSuppressDelims(boolean suppressDelims) attribute suppressdelims - suppress delimiters.Methods inherited from class ProjectComponent
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectModifier and TypeMethodDescriptionclone()Returns the description of the current action.Returns the file/location where this task was defined.Returns the project to which this component belongs.voidLogs a message with the default (INFO) priority.voidLogs a message with the given priority.voidsetDescription(String desc) Sets a description of the current action.voidsetLocation(Location location) Sets the file/location where this task was defined.voidsetProject(Project project) Sets the project object of this component.
-
Constructor Details
-
StringTokenizer
public StringTokenizer()
-