com.ibm.icu.text
Class NumberFormat.SimpleNumberFormatFactory
java.lang.Object
com.ibm.icu.text.NumberFormat.NumberFormatFactory
com.ibm.icu.text.NumberFormat.SimpleNumberFormatFactory
- Enclosing class:
- NumberFormat
- public abstract static class NumberFormat.SimpleNumberFormatFactory
- extends NumberFormat.NumberFormatFactory
A NumberFormatFactory that supports a single locale. It can be visible or invisible.
- Status:
- Stable ICU 2.6.
Method Summary |
Set |
getSupportedLocaleNames()
Returns an immutable collection of the locale names directly
supported by this factory. |
boolean |
visible()
Returns true if this factory is visible. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NumberFormat.SimpleNumberFormatFactory
public NumberFormat.SimpleNumberFormatFactory(Locale locale)
- Status:
- Stable ICU 2.6.
NumberFormat.SimpleNumberFormatFactory
public NumberFormat.SimpleNumberFormatFactory(Locale locale,
boolean visible)
- Status:
- Stable ICU 2.6.
NumberFormat.SimpleNumberFormatFactory
public NumberFormat.SimpleNumberFormatFactory(ULocale locale)
- Deprecated. This is a draft API and might change in a future release of ICU.
- Status:
- Draft ICU 3.2.
- Status:
- Deprecated in This is a draft API and might change in a future release of ICU..
NumberFormat.SimpleNumberFormatFactory
public NumberFormat.SimpleNumberFormatFactory(ULocale locale,
boolean visible)
- Deprecated. This is a draft API and might change in a future release of ICU.
- Status:
- Draft ICU 3.2.
- Status:
- Deprecated in This is a draft API and might change in a future release of ICU..
visible
public final boolean visible()
- Description copied from class:
NumberFormat.NumberFormatFactory
- Returns true if this factory is visible. Default is true.
If not visible, the locales supported by this factory will not
be listed by getAvailableLocales. This value must not change.
- Overrides:
visible
in class NumberFormat.NumberFormatFactory
- Returns:
- true if the factory is visible.
- Status:
- Stable ICU 2.6.
getSupportedLocaleNames
public final Set getSupportedLocaleNames()
- Description copied from class:
NumberFormat.NumberFormatFactory
- Returns an immutable collection of the locale names directly
supported by this factory.
- Specified by:
getSupportedLocaleNames
in class NumberFormat.NumberFormatFactory
- Returns:
- the supported locale names.
- Status:
- Stable ICU 2.6.
Copyright (c) 2004 IBM Corporation and others.