|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.spi.LocaleServiceProvider java.text.spi.BreakIteratorProvider
public abstract class BreakIteratorProvider
An abstract class for service providers that
provide concrete implementations of the
BreakIterator
class.
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)
|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved.