public final class UnicodeWhitespaceTokenizer extends CharTokenizer
For Unicode version see: UnicodeProps
AttributeSource.StateDEFAULT_TOKEN_ATTRIBUTE_FACTORY| Constructor and Description |
|---|
UnicodeWhitespaceTokenizer()
Construct a new UnicodeWhitespaceTokenizer.
|
UnicodeWhitespaceTokenizer(AttributeFactory factory)
Construct a new UnicodeWhitespaceTokenizer using a given
AttributeFactory. |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isTokenChar(int c)
Collects only characters which do not satisfy Unicode's WHITESPACE property.
|
end, incrementToken, normalize, resetclose, correctOffset, setReaderaddAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toStringpublic UnicodeWhitespaceTokenizer()
public UnicodeWhitespaceTokenizer(AttributeFactory factory)
AttributeFactory.factory - the attribute factory to use for this Tokenizerprotected boolean isTokenChar(int c)
isTokenChar in class CharTokenizerCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.