TokenFilter.StringTokenizer (Apache Ant API)
Description: declaration: package: org.apache.tools.ant.filters, class: TokenFilter, class: StringTokenizer

# Class TokenFilter.StringTokenizer

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.util.StringTokenizer
org.apache.tools.ant.filters.TokenFilter.StringTokenizer

All Implemented Interfaces:
  `Cloneable, Tokenizer`

Enclosing class:
  `TokenFilter`

public static class TokenFilter.StringTokenizer extends StringTokenizer
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`
  Modifier and Type
  Field
  Description
  `protected String`
  `description`
  Deprecated.
  since 1.6.x.
  `protected Location`
  `location`
  Deprecated.
  since 1.6.x.
  `protected Project`
  `project`
  Deprecated.
  since 1.6.x.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `StringTokenizer()`

- ## Method Summary

  ### Methods inherited from class StringTokenizer

  `getPostToken, getToken, setDelims, setDelimsAreTokens, setIncludeDelims, setSuppressDelims`
  Modifier and Type
  Method
  Description
  `String`
  `getPostToken()`
  return the string between tokens, after the previous token.
  `String`
  `getToken(Reader in)`
  find and return the next token
  `void`
  `setDelims(String delims)`
  attribute delims - the delimiter characters
  `void`
  `setDelimsAreTokens(boolean delimsAreTokens)`
  attribute delimsaretokens - treat delimiters as separate tokens.
  `void`
  `setIncludeDelims(boolean includeDelims)`
  attribute includedelims - treat delimiters as part of the token.
  `void`
  `setSuppressDelims(boolean suppressDelims)`
  attribute suppressdelims - suppress delimiters.

  ### Methods inherited from class ProjectComponent

  `clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject`
  Modifier and Type
  Method
  Description
  `Object`
  `clone()`
  `String`
  `getDescription()`
  Returns the description of the current action.
  `Location`
  `getLocation()`
  Returns the file/location where this task was defined.
  `Project`
  `getProject()`
  Returns the project to which this component belongs.
  `void`
  `log(String msg)`
  Logs a message with the default (INFO) priority.
  `void`
  `log(String msg, int msgLevel)`
  Logs a message with the given priority.
  `void`
  `setDescription(String desc)`
  Sets a description of the current action.
  `void`
  `setLocation(Location location)`
  Sets the file/location where this task was defined.
  `void`
  `setProject(Project project)`
  Sets the project object of this component.

  ### Methods inherited from class Object

  `equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### StringTokenizer

    public StringTokenizer()