public final class ValidatingTokenFilter
extends org.apache.lucene.analysis.TokenFilter
Constructor and Description |
---|
ValidatingTokenFilter(org.apache.lucene.analysis.TokenStream in,
java.lang.String name,
boolean offsetsAreCorrect)
The name arg is used to identify this stage when
throwing exceptions (useful if you have more than one
instance in your chain).
|
Modifier and Type | Method and Description |
---|---|
void |
end() |
boolean |
incrementToken() |
void |
reset() |
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toString
public ValidatingTokenFilter(org.apache.lucene.analysis.TokenStream in, java.lang.String name, boolean offsetsAreCorrect)
public boolean incrementToken() throws java.io.IOException
incrementToken
in class org.apache.lucene.analysis.TokenStream
java.io.IOException
public void end() throws java.io.IOException
end
in class org.apache.lucene.analysis.TokenFilter
java.io.IOException
public void reset() throws java.io.IOException
reset
in class org.apache.lucene.analysis.TokenFilter
java.io.IOException
Copyright © 2000-2022 Apache Software Foundation. All Rights Reserved.