| java.lang.Object java.text.Format com.ibm.icu.text.UFormat
All known Subclasses: com.ibm.icu.text.DateFormat, com.ibm.icu.text.MeasureFormat, com.ibm.icu.text.NumberFormat, com.ibm.icu.text.MessageFormat,
UFormat | abstract public class UFormat extends Format (Code) | | An abstract class that extends
java.text.Format to provide
additional ICU protocol, specifically, the getLocale()
API. All ICU format classes are subclasses of this class.
See Also: com.ibm.icu.util.ULocale author: weiv author: Alan Liu |
Constructor Summary | |
public | UFormat() |
Method Summary | |
final public ULocale | getLocale(ULocale.Type type) Return the locale that was used to create this object, or null.
This may may differ from the locale requested at the time of
this object's creation. | final void | setLocale(ULocale valid, ULocale actual) Set information about the locales that were used to create this
object. |
setLocale | final void setLocale(ULocale valid, ULocale actual)(Code) | | Set information about the locales that were used to create this
object. If the object was not constructed from locale data,
both arguments should be set to null. Otherwise, neither
should be null. The actual locale must be at the same level or
less specific than the valid locale. This method is intended
for use by factories or other entities that create objects of
this class.
Parameters: valid - the most specific locale containing any resourcedata, or null Parameters: actual - the locale containing data used to construct thisobject, or null See Also: com.ibm.icu.util.ULocale See Also: com.ibm.icu.util.ULocale.VALID_LOCALE See Also: com.ibm.icu.util.ULocale.ACTUAL_LOCALE |
|
|