| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final String[] | KIND_NAMES
KIND_NAMES are the resource key to be used to fetch the name of the pre-compiled break rules. |
| pack-priv static final ICULocaleService |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static BreakIterator | |
| public BreakIterator | createBreakIterator(ULocale locale, int kind)
Implements abstract com. |
| public Locale[] | |
| public ULocale[] | |
| public Object | registerInstance(BreakIterator iter, ULocale locale, int kind)
Implements abstract com. |
| public boolean | unregister(Object key)
Implements abstract com. |
| KIND_NAMES | back to summary |
|---|---|
| private static final String[] KIND_NAMES KIND_NAMES are the resource key to be used to fetch the name of the pre-compiled break rules. The resource bundle name is "boundaries". The value for each key will be the rules to be used for the specified locale - "word" -> "word_th" for Thai, for example. | |
| service | back to summary |
|---|---|
| pack-priv static final ICULocaleService service | |
| BreakIteratorFactory | back to summary |
|---|---|
| pack-priv BreakIteratorFactory() | |
| createBreakInstance | back to summary |
|---|---|
| private static BreakIterator createBreakInstance(ULocale locale, int kind) | |
| createBreakIterator | back to summary |
|---|---|
| public BreakIterator createBreakIterator(ULocale locale, int kind) Implements abstract com.
| |
| getAvailableLocales | back to summary |
|---|---|
| public Locale[] getAvailableLocales() Implements abstract com.
| |
| getAvailableULocales | back to summary |
|---|---|
| public ULocale[] getAvailableULocales() Implements abstract com.
| |
| registerInstance | back to summary |
|---|---|
| public Object registerInstance(BreakIterator iter, ULocale locale, int kind) Implements abstract com.
| |
| unregister | back to summary |
|---|---|
| public boolean unregister(Object key) Implements abstract com.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String | validateFallbackLocale()
Overrides com. |
| BFService | back to summary |
|---|---|
| pack-priv BFService() | |
| validateFallbackLocale | back to summary |
|---|---|
| public String validateFallbackLocale() Overrides com. createBreakInstance() returns an appropriate BreakIterator for any locale. It falls back to root if there is no specific data. Without this override, the service code would fall back to the default locale which is not desirable for an algorithm with a good Unicode default, like break iteration.
| |