| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public abstract class BreakIteratorProvider extends LocaleServiceProvider
An abstract class for service providers that provide concrete implementations of the {@link java.text.BreakIterator BreakIterator} class.
Constructor Summary | |
---|---|
protected |
Sole constructor. |
Method Summary | |
---|---|
abstract BreakIterator |
getCharacterInstance(Locale locale) Returns a new BreakIterator instance
for character breaks
for the given locale.
|
abstract BreakIterator |
getLineInstance(Locale locale) Returns a new BreakIterator instance
for line breaks
for the given locale.
|
abstract BreakIterator |
getSentenceInstance(Locale locale) Returns a new BreakIterator instance
for sentence breaks
for the given locale.
|
abstract BreakIterator |
getWordInstance(Locale locale) Returns a new BreakIterator instance
for word breaks
for the given locale.
|
Methods inherited from class java.util.spi.LocaleServiceProvider |
---|
getAvailableLocales |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected BreakIteratorProvider()
Method Detail |
---|
public abstract BreakIterator getCharacterInstance(Locale locale)
BreakIterator
instance
for character breaks
for the given locale.
locale
- the desired localepublic abstract BreakIterator getLineInstance(Locale locale)
BreakIterator
instance
for line breaks
for the given locale.
locale
- the desired localepublic abstract BreakIterator getSentenceInstance(Locale locale)
BreakIterator
instance
for sentence breaks
for the given locale.
locale
- the desired localepublic abstract BreakIterator getWordInstance(Locale locale)
BreakIterator
instance
for word breaks
for the given locale.
locale
- the desired locale
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |