public class ReversePathHierarchyTokenizer extends Tokenizer
Take something like:
www.site.co.ukand make:
www.site.co.uk site.co.uk co.uk uk
AttributeSource.State
Modifier and Type | Field and Description |
---|---|
static char |
DEFAULT_DELIMITER |
static int |
DEFAULT_SKIP |
DEFAULT_TOKEN_ATTRIBUTE_FACTORY
Constructor and Description |
---|
ReversePathHierarchyTokenizer() |
ReversePathHierarchyTokenizer(AttributeFactory factory,
char delimiter,
char replacement,
int skip) |
ReversePathHierarchyTokenizer(AttributeFactory factory,
int bufferSize,
char delimiter,
char replacement,
int skip) |
ReversePathHierarchyTokenizer(char delimiter,
char replacement) |
ReversePathHierarchyTokenizer(char delimiter,
char replacement,
int skip) |
ReversePathHierarchyTokenizer(char delimiter,
int skip) |
ReversePathHierarchyTokenizer(int skip) |
ReversePathHierarchyTokenizer(int bufferSize,
char delimiter) |
ReversePathHierarchyTokenizer(int bufferSize,
char delimiter,
char replacement) |
ReversePathHierarchyTokenizer(int bufferSize,
char delimiter,
char replacement,
int skip) |
Modifier and Type | Method and Description |
---|---|
void |
end() |
boolean |
incrementToken() |
void |
reset() |
close, correctOffset, setReader
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, endAttributes, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toString
public static final char DEFAULT_DELIMITER
public static final int DEFAULT_SKIP
public ReversePathHierarchyTokenizer()
public ReversePathHierarchyTokenizer(int skip)
public ReversePathHierarchyTokenizer(int bufferSize, char delimiter)
public ReversePathHierarchyTokenizer(char delimiter, char replacement)
public ReversePathHierarchyTokenizer(int bufferSize, char delimiter, char replacement)
public ReversePathHierarchyTokenizer(char delimiter, int skip)
public ReversePathHierarchyTokenizer(char delimiter, char replacement, int skip)
public ReversePathHierarchyTokenizer(AttributeFactory factory, char delimiter, char replacement, int skip)
public ReversePathHierarchyTokenizer(int bufferSize, char delimiter, char replacement, int skip)
public ReversePathHierarchyTokenizer(AttributeFactory factory, int bufferSize, char delimiter, char replacement, int skip)
public final boolean incrementToken() throws IOException
incrementToken
in class TokenStream
IOException
public final void end() throws IOException
end
in class TokenStream
IOException
public void reset() throws IOException
reset
in class Tokenizer
IOException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.