Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.util.search
Class NullFragmenter

java.lang.Object
  extended by com.jivesoftware.util.search.NullFragmenter
All Implemented Interfaces:
org.apache.lucene.search.highlight.Fragmenter

public class NullFragmenter
extends java.lang.Object
implements org.apache.lucene.search.highlight.Fragmenter

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(org.apache.lucene.analysis.Token token)
           
 void start(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullFragmenter

public NullFragmenter()
Method Detail

start

public void start(java.lang.String s)
Specified by:
start in interface org.apache.lucene.search.highlight.Fragmenter

isNewFragment

public boolean isNewFragment(org.apache.lucene.analysis.Token token)
Specified by:
isNewFragment in interface org.apache.lucene.search.highlight.Fragmenter

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.