-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.2.0
-
sparc
-
solaris_2.5
Name: dfC67450 Date: 04/08/98
getWordInstance, getLineInstance, getCharacterInstance, getSentenceInstance
of java.text.BreakIterator ignore localization.
--- Javadoc says about getWordInstance(Locale where): ---
Create BreakIterator for word-breaks using specified locale.
Returns an instance of a BreakIterator implementing word breaks.
WordBreak is usefull for word selection (ex. double click)
param where the local. If a specific WordBreak is not
avaliable for the specified locale, a default WordBreak is returned.
return A BreakIterator for word-breaks
--- here is the source ---
public static BreakIterator getWordInstance()
{
return getWordInstance(Locale.getDefault());
}
public static BreakIterator getWordInstance(Locale where)
{
return new SimpleTextBoundary(new WordBreakData());
}
------------
======================================================================
- duplicates
-
JDK-4095325 [BI] RFE: Need special word-break tables for Chinese
- Closed