public class PathTokenFilter
extends org.apache.lucene.analysis.Tokenizer
| Modifier and Type | Field and Description |
|---|---|
static String |
INTEGER_FORMAT |
static char |
NAMESPACE_END_DELIMITER |
static char |
NAMESPACE_START_DELIMITER |
static String |
NO_NS_TOKEN_TEXT |
static char |
PATH_SEPARATOR |
static String |
SEPARATOR_TOKEN_TEXT |
static String |
TOKEN_TYPE_PATH_ELEMENT_NAME |
static String |
TOKEN_TYPE_PATH_ELEMENT_NAMESPACE |
static String |
TOKEN_TYPE_PATH_ELEMENT_NAMESPACE_PREFIX |
static String |
TOKEN_TYPE_PATH_LENGTH |
static String |
TOKEN_TYPE_PATH_SEP |
| Constructor and Description |
|---|
PathTokenFilter(char pathSeparator,
String separatorTokenText,
String noNsTokenText,
char nsStartDelimiter,
char nsEndDelimiter,
boolean includeNameSpace) |
| Modifier and Type | Method and Description |
|---|---|
void |
end() |
boolean |
incrementToken() |
org.apache.lucene.analysis.tokenattributes.PackedTokenAttributeImpl |
next() |
void |
reset() |
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, endAttributes, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toStringpublic static final String INTEGER_FORMAT
public static final char PATH_SEPARATOR
public static final char NAMESPACE_START_DELIMITER
public static final char NAMESPACE_END_DELIMITER
public static final String SEPARATOR_TOKEN_TEXT
public static final String NO_NS_TOKEN_TEXT
public static final String TOKEN_TYPE_PATH_SEP
public static final String TOKEN_TYPE_PATH_LENGTH
public static final String TOKEN_TYPE_PATH_ELEMENT_NAME
public static final String TOKEN_TYPE_PATH_ELEMENT_NAMESPACE
public static final String TOKEN_TYPE_PATH_ELEMENT_NAMESPACE_PREFIX
public org.apache.lucene.analysis.tokenattributes.PackedTokenAttributeImpl next()
throws IOException
IOExceptionpublic final boolean incrementToken()
throws IOException
incrementToken in class org.apache.lucene.analysis.TokenStreamIOExceptionpublic void reset()
throws IOException
reset in class org.apache.lucene.analysis.TokenizerIOExceptionpublic void end()
throws IOException
end in class org.apache.lucene.analysis.TokenStreamIOExceptionCopyright © 2005–2019 Alfresco Software. All rights reserved.