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 Details

    • OneLineFragmenter

      public OneLineFragmenter()
  • Method Details

    • start

      public void start(String originalText)
    • isNewline

      protected boolean isNewline(char c)
    • getChar

      protected char getChar(int pos)
    • getText

      public String getText()
    • setText

      public void setText(String text)
    • isNewFragment

      public boolean isNewFragment()
      Specified by:
      isNewFragment in interface org.apache.lucene.search.highlight.Fragmenter
    • start

      public void start(String arg0, org.apache.lucene.analysis.TokenStream arg1)
      Specified by:
      start in interface org.apache.lucene.search.highlight.Fragmenter