Package org.sentrysoftware.jawk.jrt
Class CharacterTokenizer
java.lang.Object
org.sentrysoftware.jawk.jrt.CharacterTokenizer
- All Implemented Interfaces:
Enumeration<Object>
Similar to StringTokenizer, except that tokens are characters
in the input string themselves.
For Jawk, this class is used when NF == "".
- Author:
- Danny Daglas
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
CharacterTokenizer
Construct a CharacterTokenizer.- Parameters:
input
- The input string to tokenize.
-
-
Method Details
-
hasMoreElements
public boolean hasMoreElements()- Specified by:
hasMoreElements
in interfaceEnumeration<Object>
-
nextElement
- Specified by:
nextElement
in interfaceEnumeration<Object>
-