|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.util.AttributeSource
org.apache.lucene.analysis.TokenStream
org.apache.lucene.analysis.TokenFilter
org.crosswire.jsword.index.lucene.analysis.AbstractBookTokenFilter
public abstract class AbstractBookTokenFilter
An AbstractBookTokenFilter ties a Lucene TokenFilter to a Book.
for license details.
The copyright to this program is held by it's authors.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.lucene.util.AttributeSource |
---|
org.apache.lucene.util.AttributeSource.AttributeFactory, org.apache.lucene.util.AttributeSource.State |
Field Summary | |
---|---|
private Book |
book
|
Fields inherited from class org.apache.lucene.analysis.TokenFilter |
---|
input |
Constructor Summary | |
---|---|
AbstractBookTokenFilter(Book book,
org.apache.lucene.analysis.TokenStream input)
Create a TokenFilter tied to a Book. |
|
AbstractBookTokenFilter(org.apache.lucene.analysis.TokenStream input)
Create a TokenFilter not tied to a Book. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Book |
getBook()
|
int |
hashCode()
|
void |
setBook(Book book)
|
Methods inherited from class org.apache.lucene.analysis.TokenFilter |
---|
close, end, reset |
Methods inherited from class org.apache.lucene.analysis.TokenStream |
---|
incrementToken |
Methods inherited from class org.apache.lucene.util.AttributeSource |
---|
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, restoreState, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private Book book
Constructor Detail |
---|
public AbstractBookTokenFilter(org.apache.lucene.analysis.TokenStream input)
input
- the token stream to filterpublic AbstractBookTokenFilter(Book book, org.apache.lucene.analysis.TokenStream input)
input
- the token stream to filterMethod Detail |
---|
public Book getBook()
public void setBook(Book book)
book
- the book to setpublic boolean equals(Object obj)
equals
in class org.apache.lucene.util.AttributeSource
public int hashCode()
hashCode
in class org.apache.lucene.util.AttributeSource
|
Copyright ? 2003-2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |