public class NullFragmenter extends Object implements Fragmenter
Fragmenter implementation which does not fragment the text.
This is useful for highlighting the entire content of a document or field.| Constructor and Description |
|---|
NullFragmenter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isNewFragment(Token token)
Test to see if this token from the stream should be held in a new TextFragment
|
void |
start(String s)
Initializes the Fragmenter
|
public void start(String s)
Fragmenterstart in interface Fragmenterpublic boolean isNewFragment(Token token)
FragmenterisNewFragment in interface FragmenterCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.