Returns a new BreakIterator instance
for character breaks
for the given locale.
param
locale the desired locale
return
A break iterator for character breaks
exception
NullPointerException if locale is null
exception
IllegalArgumentException if locale isn't
one of the locales returned from
{@link java.util.spi.LocaleServiceProvider#getAvailableLocales()
getAvailableLocales()}.
Returns a new BreakIterator instance
for line breaks
for the given locale.
param
locale the desired locale
return
A break iterator for line breaks
exception
NullPointerException if locale is null
exception
IllegalArgumentException if locale isn't
one of the locales returned from
{@link java.util.spi.LocaleServiceProvider#getAvailableLocales()
getAvailableLocales()}.
Returns a new BreakIterator instance
for sentence breaks
for the given locale.
param
locale the desired locale
return
A break iterator for sentence breaks
exception
NullPointerException if locale is null
exception
IllegalArgumentException if locale isn't
one of the locales returned from
{@link java.util.spi.LocaleServiceProvider#getAvailableLocales()
getAvailableLocales()}.
Returns a new BreakIterator instance
for word breaks
for the given locale.
param
locale the desired locale
return
A break iterator for word breaks
exception
NullPointerException if locale is null
exception
IllegalArgumentException if locale isn't
one of the locales returned from
{@link java.util.spi.LocaleServiceProvider#getAvailableLocales()
getAvailableLocales()}.