|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.text.Format
com.ibm.icu.text.UFormat
An abstract class that extends Format
to provide
additional ICU protocol, specifically, the getLocale()
API. All ICU format classes are subclasses of this class.
ULocale
,
Serialized FormNested Class Summary |
Nested classes inherited from class java.text.Format |
java.text.Format.Field |
Constructor Summary | |
UFormat()
|
Method Summary | |
ULocale |
getLocale(ULocale.Type type)
Return the locale that was used to create this object, or null. |
Methods inherited from class java.text.Format |
clone, format, format, formatToCharacterIterator, parseObject, parseObject |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UFormat()
Method Detail |
public final ULocale getLocale(ULocale.Type type)
Note: This method will be implemented in ICU 3.0; ICU 2.8 contains a partial preview implementation. The actual locale is returned correctly, but the valid locale is not, in most cases.
type
- type of information requested, either ULocale.VALID_LOCALE
or ULocale.ACTUAL_LOCALE
.
ULocale
,
ULocale.VALID_LOCALE
,
ULocale.ACTUAL_LOCALE
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |