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.
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)
NumberFormat.SimpleNumberFormatFactory
public NumberFormat.SimpleNumberFormatFactory(Locale locale,
boolean visible)
NumberFormat.SimpleNumberFormatFactory
public NumberFormat.SimpleNumberFormatFactory(ULocale locale)
NumberFormat.SimpleNumberFormatFactory
public NumberFormat.SimpleNumberFormatFactory(ULocale locale,
boolean visible)
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.
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.
Copyright (c) 2006 IBM Corporation and others.