public class KeyFilter extends AbstractBookTokenFilter
The GNU Lesser General Public License for details.
Constructor and Description |
---|
KeyFilter(Book book,
org.apache.lucene.analysis.TokenStream in)
Construct a KeyFilter tied to a Book.
|
KeyFilter(org.apache.lucene.analysis.TokenStream in)
Construct a KeyFilter not tied to a Book.
|
Modifier and Type | Method and Description |
---|---|
boolean |
incrementToken() |
equals, getBook, hashCode, setBook
public KeyFilter(org.apache.lucene.analysis.TokenStream in)
in
- the input TokenStreampublic KeyFilter(Book book, org.apache.lucene.analysis.TokenStream in)
book
- the book to which this TokenFilter is tied.in
- the input TokenStreampublic boolean incrementToken() throws IOException
incrementToken
in class org.apache.lucene.analysis.TokenStream
IOException