Package org.sentrysoftware.jawk.jrt
Class SingleCharacterTokenizer
java.lang.Object
org.sentrysoftware.jawk.jrt.SingleCharacterTokenizer
- All Implemented Interfaces:
Enumeration<Object>
Similar to StringTokenizer, except that tokens are delimited
by a single character.
- Author:
- Danny Daglas
-
Constructor Summary
ConstructorDescriptionSingleCharacterTokenizer
(String input, int splitChar) Construct a RegexTokenizer. -
Method Summary
-
Constructor Details
-
SingleCharacterTokenizer
Construct a RegexTokenizer.- Parameters:
input
- The input string to tokenize.splitChar
- The character which delineates tokens within the input string.
-
-
Method Details
-
hasMoreElements
public boolean hasMoreElements()- Specified by:
hasMoreElements
in interfaceEnumeration<Object>
-
nextElement
- Specified by:
nextElement
in interfaceEnumeration<Object>
-