|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.spi.LocaleServiceProvider
java.text.spi.BreakIteratorProvider
public abstract class BreakIteratorProvider
A BreakIteratorProvider
provides localized
instances of BreakIterator
.
Constructor Summary | |
---|---|
protected |
BreakIteratorProvider()
Constructs a new BreakIteratorProvider . |
Method Summary | |
---|---|
abstract BreakIterator |
getCharacterInstance(Locale locale)
Returns a BreakIterator instance
for character breaks in the specified
Locale . |
abstract BreakIterator |
getLineInstance(Locale locale)
Returns a BreakIterator instance
for line breaks in the specified Locale . |
abstract BreakIterator |
getSentenceInstance(Locale locale)
Returns a BreakIterator instance
for sentence breaks in the specified
Locale . |
abstract BreakIterator |
getWordInstance(Locale locale)
Returns a BreakIterator instance
for word breaks in the specified
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()
BreakIteratorProvider
.
Provided for implicit invocation by subclasses.
Method Detail |
---|
public abstract BreakIterator getCharacterInstance(Locale locale)
BreakIterator
instance
for character breaks in the specified
Locale
.
locale
- the desired locale.
NullPointerException
- if the locale is null.
IllegalArgumentException
- if the locale is not one
returned by
LocaleServiceProvider.getAvailableLocales()
BreakIterator.getCharacterInstance(java.util.Locale)
public abstract BreakIterator getLineInstance(Locale locale)
BreakIterator
instance
for line breaks in the specified Locale
.
locale
- the desired locale.
NullPointerException
- if the locale is null.
IllegalArgumentException
- if the locale is not one
returned by
LocaleServiceProvider.getAvailableLocales()
BreakIterator.getLineInstance(java.util.Locale)
public abstract BreakIterator getSentenceInstance(Locale locale)
BreakIterator
instance
for sentence breaks in the specified
Locale
.
locale
- the desired locale.
NullPointerException
- if the locale is null.
IllegalArgumentException
- if the locale is not one
returned by
LocaleServiceProvider.getAvailableLocales()
BreakIterator.getSentenceInstance(java.util.Locale)
public abstract BreakIterator getWordInstance(Locale locale)
BreakIterator
instance
for word breaks in the specified
Locale
.
locale
- the desired locale.
NullPointerException
- if the locale is null.
IllegalArgumentException
- if the locale is not one
returned by
LocaleServiceProvider.getAvailableLocales()
BreakIterator.getWordInstance(java.util.Locale)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |