Package org.apache.maven.index
Class OneLineFragmenter
java.lang.Object
org.apache.maven.index.OneLineFragmenter
- All Implemented Interfaces:
org.apache.lucene.search.highlight.Fragmenter
public class OneLineFragmenter
extends Object
implements org.apache.lucene.search.highlight.Fragmenter
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
OneLineFragmenter
public OneLineFragmenter()
-
-
Method Details
-
start
-
isNewline
protected boolean isNewline(char c) -
getChar
protected char getChar(int pos) -
getText
-
setText
-
isNewFragment
public boolean isNewFragment()- Specified by:
isNewFragment
in interfaceorg.apache.lucene.search.highlight.Fragmenter
-
start
- Specified by:
start
in interfaceorg.apache.lucene.search.highlight.Fragmenter
-