Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.comm.filters
Class ISeriesStringTokenizer

java.lang.Object
  extended by com.ibm.etools.iseries.comm.filters.ISeriesStringTokenizer

public class ISeriesStringTokenizer
extends Object

A special version of StringTokenizer that handles quoted values. These require special processing because all delimiter characters inside them should be ignored. Mimics StringTokenizer in java.util package.


Field Summary
static String Copyright
           
 
Constructor Summary
ISeriesStringTokenizer(String input)
          Use blank delimiter.
ISeriesStringTokenizer(String input, String delimiterString)
          Use each char in given string as a delimiter
 
Method Summary
 boolean hasMoreTokens()
          Returns true if there are more tokens yet to parse.
 String nextToken()
          Returns the next token.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

ISeriesStringTokenizer

public ISeriesStringTokenizer(String input)
Use blank delimiter.

Parameters:
input - String to tokenize

ISeriesStringTokenizer

public ISeriesStringTokenizer(String input,
                              String delimiterString)
Use each char in given string as a delimiter

Parameters:
input - String to tokenize
delimiters - String where each character is a delimiter.
Method Detail

hasMoreTokens

public boolean hasMoreTokens()
Returns true if there are more tokens yet to parse.


nextToken

public String nextToken()
Returns the next token.


Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.