|
Préférences
Moteurs de recherche
|
|||||||||||||||||||
| JavaTM 2 Platform Std. Ed. v1.6.0
java.text.spi
|
||||||||||||||||||||
| Constructor Summary | |
|---|---|
protected |
BreakIteratorProvider()
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 getWordInstance(Locale locale)
BreakIterator instance
for word breaks
for the given locale.
locale - the desired locale
NullPointerException - if locale is null
IllegalArgumentException - if locale isn't
one of the locales returned from
getAvailableLocales().BreakIterator.getWordInstance(java.util.Locale)public abstract BreakIterator getLineInstance(Locale locale)
BreakIterator instance
for line breaks
for the given locale.
locale - the desired locale
NullPointerException - if locale is null
IllegalArgumentException - if locale isn't
one of the locales returned from
getAvailableLocales().BreakIterator.getLineInstance(java.util.Locale)public abstract BreakIterator getCharacterInstance(Locale locale)
BreakIterator instance
for character breaks
for the given locale.
locale - the desired locale
NullPointerException - if locale is null
IllegalArgumentException - if locale isn't
one of the locales returned from
getAvailableLocales().BreakIterator.getCharacterInstance(java.util.Locale)public abstract BreakIterator getSentenceInstance(Locale locale)
BreakIterator instance
for sentence breaks
for the given locale.
locale - the desired locale
NullPointerException - if locale is null
IllegalArgumentException - if locale isn't
one of the locales returned from
getAvailableLocales().BreakIterator.getSentenceInstance(java.util.Locale)