public interface Tokenizer extends CloneableSerializable
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<Token> |
tokenize(java.io.Reader reader)
Converts the string from the given reader into an ordered list of tokens.
|
java.lang.Iterable<Token> |
tokenize(java.lang.String s)
Convert the given string into a corresponding ordered list of tokens.
|
java.lang.Iterable<Token> |
tokenize(Textual textual)
Convert the given string into a corresponding ordered list of tokens.
|
clone
java.lang.Iterable<Token> tokenize(java.lang.String s)
s
- The string to tokenize.java.lang.Iterable<Token> tokenize(java.io.Reader reader)
reader
- The reader to tokenize the data from.