@Deprecated public final class UAX29URLEmailTokenizer40 extends Tokenizer
AttributeSource.State| Modifier and Type | Field and Description |
|---|---|
static int |
ALPHANUM
Deprecated.
|
static int |
EMAIL
Deprecated.
|
static int |
HANGUL
Deprecated.
|
static int |
HIRAGANA
Deprecated.
|
static int |
IDEOGRAPHIC
Deprecated.
|
static int |
KATAKANA
Deprecated.
|
static int |
NUM
Deprecated.
|
static int |
SOUTHEAST_ASIAN
Deprecated.
|
static String[] |
TOKEN_TYPES
Deprecated.
String token types that correspond to token type int constants
|
static int |
URL
Deprecated.
|
DEFAULT_TOKEN_ATTRIBUTE_FACTORY| Constructor and Description |
|---|
UAX29URLEmailTokenizer40()
Deprecated.
Creates a new instance of the UAX29URLEmailTokenizer.
|
UAX29URLEmailTokenizer40(AttributeFactory factory)
Deprecated.
Creates a new UAX29URLEmailTokenizer with a given
AttributeSource. |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
|
void |
end()
Deprecated.
|
int |
getMaxTokenLength()
Deprecated.
|
boolean |
incrementToken()
Deprecated.
|
void |
reset()
Deprecated.
|
void |
setMaxTokenLength(int length)
Deprecated.
Set the max allowed token length.
|
correctOffset, setReaderaddAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toStringpublic static final int ALPHANUM
public static final int NUM
public static final int SOUTHEAST_ASIAN
public static final int IDEOGRAPHIC
public static final int HIRAGANA
public static final int KATAKANA
public static final int HANGUL
public static final int URL
public static final int EMAIL
public static final String[] TOKEN_TYPES
public UAX29URLEmailTokenizer40()
input to the newly created JFlex scanner.public UAX29URLEmailTokenizer40(AttributeFactory factory)
AttributeSource.public void setMaxTokenLength(int length)
public int getMaxTokenLength()
setMaxTokenLength(int)public final boolean incrementToken()
throws IOException
incrementToken in class TokenStreamIOExceptionpublic final void end()
throws IOException
end in class TokenStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class TokenizerIOExceptionpublic void reset()
throws IOException
reset in class TokenizerIOExceptionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.