com.ibm.icu.text
Class NumberFormat.SimpleNumberFormatFactory

java.lang.Object
  extended by com.ibm.icu.text.NumberFormat.NumberFormatFactory
      extended by 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.


Field Summary
 
Fields inherited from class com.ibm.icu.text.NumberFormat.NumberFormatFactory
FORMAT_CURRENCY, FORMAT_INTEGER, FORMAT_NUMBER, FORMAT_PERCENT, FORMAT_SCIENTIFIC
 
Constructor Summary
NumberFormat.SimpleNumberFormatFactory(Locale locale)
           
NumberFormat.SimpleNumberFormatFactory(Locale locale, boolean visible)
           
NumberFormat.SimpleNumberFormatFactory(ULocale locale)
          Deprecated. This is a draft API and might change in a future release of ICU.
NumberFormat.SimpleNumberFormatFactory(ULocale locale, boolean visible)
          Deprecated. This is a draft API and might change in a future release of ICU.
 
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 com.ibm.icu.text.NumberFormat.NumberFormatFactory
createFormat, createFormat
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumberFormat.SimpleNumberFormatFactory

public NumberFormat.SimpleNumberFormatFactory(Locale locale)

NumberFormat.SimpleNumberFormatFactory

public NumberFormat.SimpleNumberFormatFactory(Locale locale,
                                              boolean visible)

NumberFormat.SimpleNumberFormatFactory

public NumberFormat.SimpleNumberFormatFactory(ULocale locale)
Deprecated. 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.

Method Detail

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) 2004 IBM Corporation and others.