Example usage for Java java.text BreakIterator fields, constructors, methods, implement or subclass
The text is from its open source code.
int | DONE DONE is returned by previous(), next(), next(int), preceding(int) and following(int) when either the first or last text boundary has been reached. |
int | first() Returns the first boundary. |
int | following(int offset) Returns the first boundary following the specified character offset. |
BreakIterator | getCharacterInstance(Locale locale) Returns a new BreakIterator instance for character breaks for the given locale. |
BreakIterator | getCharacterInstance() Returns a new BreakIterator instance for character breaks for the Locale#getDefault() default locale . |
BreakIterator | getLineInstance(Locale locale) Returns a new BreakIterator instance for line breaks for the given locale. |
BreakIterator | getLineInstance() Returns a new BreakIterator instance for line breaks for the Locale#getDefault() default locale . |
BreakIterator | getSentenceInstance(Locale locale) Returns a new BreakIterator instance for sentence breaks for the given locale. |
BreakIterator | getSentenceInstance() Returns a new BreakIterator instance for sentence breaks for the Locale#getDefault() default locale . |
BreakIterator | getWordInstance(Locale locale) Returns a new BreakIterator instance for word breaks for the given locale. |
BreakIterator | getWordInstance() Returns a new BreakIterator instance for word breaks for the Locale#getDefault() default locale . |
int | last() Returns the last boundary. |
int | next() Returns the boundary following the current boundary. |
int | preceding(int offset) Returns the last boundary preceding the specified character offset. |
void | setText(String newText) Set a new text string to be scanned. |
void | setText(CharacterIterator newText) Set a new text for scanning. |