public final class CustomSeparatorBreakIterator extends BreakIterator
BreakIterator
that breaks the text whenever a certain separator, provided as a constructor argument, is found.DONE
Constructor and Description |
---|
CustomSeparatorBreakIterator(char separator) |
Modifier and Type | Method and Description |
---|---|
int |
current() |
int |
first() |
int |
following(int pos) |
CharacterIterator |
getText() |
int |
last() |
int |
next() |
int |
next(int n) |
int |
preceding(int pos) |
int |
previous() |
void |
setText(CharacterIterator newText) |
clone, getAvailableLocales, getCharacterInstance, getCharacterInstance, getLineInstance, getLineInstance, getSentenceInstance, getSentenceInstance, getWordInstance, getWordInstance, isBoundary, setText
public int current()
current
in class BreakIterator
public int first()
first
in class BreakIterator
public int last()
last
in class BreakIterator
public int next()
next
in class BreakIterator
public int following(int pos)
following
in class BreakIterator
public int previous()
previous
in class BreakIterator
public int preceding(int pos)
preceding
in class BreakIterator
public int next(int n)
next
in class BreakIterator
public CharacterIterator getText()
getText
in class BreakIterator
public void setText(CharacterIterator newText)
setText
in class BreakIterator
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.