|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.search.highlight.NullFragmenter
public class NullFragmenter
Fragmenter
implementation which does not fragment the text.
This is useful for highlighting the entire content of a document or field.
Constructor Summary | |
---|---|
NullFragmenter()
|
Method Summary | |
---|---|
boolean |
isNewFragment(Token token)
Test to see if this token from the stream should be held in a new TextFragment |
void |
start(java.lang.String s)
Initializes the Fragmenter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullFragmenter()
Method Detail |
---|
public void start(java.lang.String s)
Fragmenter
start
in interface Fragmenter
public boolean isNewFragment(Token token)
Fragmenter
isNewFragment
in interface Fragmenter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |