public abstract class AbstractCharacterBasedTokenizer extends AbstractTokenizer
Constructor and Description |
---|
AbstractCharacterBasedTokenizer()
Creates a new
LetterNumberTokenizer . |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
isTokenMember(char c)
Determines if the given character is considered to be part of a token.
|
java.lang.Iterable<Token> |
tokenize(java.io.Reader reader)
Converts the string from the given reader into an ordered list of tokens.
|
tokenize, tokenize
clone
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone
public AbstractCharacterBasedTokenizer()
LetterNumberTokenizer
.public java.lang.Iterable<Token> tokenize(java.io.Reader reader)
Tokenizer
reader
- The reader to tokenize the data from.public abstract boolean isTokenMember(char c)
c
- A character.