Fields
Name | Description |
---|---|
DONE | DONE is returned by previous() and next() after all valid boundaries have been returned. |
Constructors
Name | Description |
---|---|
BreakIterator() | Constructor. |
Methods
Name | Description |
---|---|
clone() | Create a copy of this boundary |
current() | Return character index of the text boundary that was most recently returned by next(), previous(), first(), or last() |
first() | Return the first boundary. |
following(int) | Return the first boundary following the specified offset. |
getAvailableLocales() | Get the set of Locales for which TextBoundaries are installed |
getCharacterInstance() | Create BreakIterator for character-breaks using default locale Returns an instance of a BreakIterator implementing character breaks. |
getCharacterInstance(Locale) | Create BreakIterator for character-breaks using specified locale Returns an instance of a BreakIterator implementing character breaks. |
getLineInstance() | Create BreakIterator for line-breaks using default locale. |
getLineInstance(Locale) | Create BreakIterator for line-breaks using default locale. |
getSentenceInstance() | Create BreakIterator for sentence-breaks using default locale Returns an instance of a BreakIterator implementing sentence breaks. |
getSentenceInstance(Locale) | Create BreakIterator for sentence-breaks using specified locale Returns an instance of a BreakIterator implementing sentence breaks. |
getText() | Get the text being scanned |
getWordInstance() | Create BreakIterator for word-breaks using default locale. |
getWordInstance(Locale) | Create BreakIterator for word-breaks using default locale. |
last() | Return the last boundary. |
next() | Return the boundary following the current boundary. |
next(int) | Return the nth boundary from the current boundary |
previous() | Return the boundary preceding the current boundary. |
setText(CharacterIterator) | Set a new text for scanning. |
setText(String) | Set a new text string to be scanned. |