Class WholeBreakIterator
- java.lang.Object
-
- java.text.BreakIterator
-
- org.apache.lucene.search.postingshighlight.WholeBreakIterator
-
- All Implemented Interfaces:
java.lang.Cloneable
public final class WholeBreakIterator extends java.text.BreakIterator
Just produces one single fragment for the entire text
-
-
Constructor Summary
Constructors Constructor Description WholeBreakIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
current()
int
first()
int
following(int pos)
java.text.CharacterIterator
getText()
int
last()
int
next()
int
next(int n)
int
preceding(int pos)
int
previous()
void
setText(java.text.CharacterIterator newText)
-
-
-
Method Detail
-
current
public int current()
- Specified by:
current
in classjava.text.BreakIterator
-
first
public int first()
- Specified by:
first
in classjava.text.BreakIterator
-
following
public int following(int pos)
- Specified by:
following
in classjava.text.BreakIterator
-
getText
public java.text.CharacterIterator getText()
- Specified by:
getText
in classjava.text.BreakIterator
-
last
public int last()
- Specified by:
last
in classjava.text.BreakIterator
-
next
public int next()
- Specified by:
next
in classjava.text.BreakIterator
-
next
public int next(int n)
- Specified by:
next
in classjava.text.BreakIterator
-
preceding
public int preceding(int pos)
- Overrides:
preceding
in classjava.text.BreakIterator
-
previous
public int previous()
- Specified by:
previous
in classjava.text.BreakIterator
-
setText
public void setText(java.text.CharacterIterator newText)
- Specified by:
setText
in classjava.text.BreakIterator
-
-