|
||||||||||
| 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.
The GNU Lesser General Public License for details.| 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 filter
public AbstractBookTokenFilter(Book book,
org.apache.lucene.analysis.TokenStream input)
book - the bookinput - the token stream to filter| Method 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.AttributeSourcepublic int hashCode()
hashCode in class org.apache.lucene.util.AttributeSource
|
Copyright ยจ 2003-2015 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||