Save This Page
Home » lucene-3.0.1-src » org.apache » lucene » search » highlight » [javadoc | source]
org.apache.lucene.search.highlight
public class: SimpleFragmenter [javadoc | source]
java.lang.Object
   org.apache.lucene.search.highlight.SimpleFragmenter

All Implemented Interfaces:
    Fragmenter

Fragmenter implementation which breaks text up into same-size fragments with no concerns over spotting sentence boundaries.
Constructor:
 public SimpleFragmenter() 
 public SimpleFragmenter(int fragmentSize) 
Method from org.apache.lucene.search.highlight.SimpleFragmenter Summary:
getFragmentSize,   isNewFragment,   setFragmentSize,   start
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.search.highlight.SimpleFragmenter Detail:
 public int getFragmentSize() 
 public boolean isNewFragment() 
 public  void setFragmentSize(int size) 
 public  void start(String originalText,
    TokenStream stream)