public interface SeparatorHandler
This interface declares the methods a Tokenizer
needs
to deal with separators.
Separators are single characters that are either not very important in the tokenizing process or are sufficiently characterized by their token image. Examples are opening and closing parentheses, commas, semicolons etc. Their main feature is that they separate other tokens in the same way as whiterspaces and comments.
Tokenizer
,
TokenizerProperties
,
DataMapper
Modifier and Type | Method and Description |
---|---|
boolean |
isSeparator(char testChar)
This method checks if the character is a separator.
|
boolean isSeparator(char testChar)
testChar
- check this charactertrue
if the given character is a separator,
false
otherwiseTokenizerProperties.setSeparators(java.lang.String)