com.ibm.icu.text
Class MeasureFormat

java.lang.Object
  extended byjava.text.Format
      extended bycom.ibm.icu.text.UFormat
          extended bycom.ibm.icu.text.MeasureFormat
All Implemented Interfaces:
Cloneable, Serializable

Deprecated. This is a draft API and might change in a future release of ICU.

public abstract class MeasureFormat
extends UFormat

A formatter for Measure objects. This is an abstract base class.

To format or parse a Measure object, first create a formatter object using a MeasureFormat factory method. Then use that object's format and parse methods.

Author:
Alan Liu
See Also:
UFormat, Serialized Form
Status:
Draft ICU 3.0.
Status:
Deprecated in This is a draft API and might change in a future release of ICU..

Nested Class Summary
 
Nested classes inherited from class java.text.Format
Format.Field
 
Constructor Summary
protected MeasureFormat()
          Deprecated.  
 
Method Summary
static MeasureFormat getCurrencyFormat()
          Deprecated. This is a draft API and might change in a future release of ICU.
static MeasureFormat getCurrencyFormat(ULocale locale)
          Deprecated. This is a draft API and might change in a future release of ICU.
 
Methods inherited from class com.ibm.icu.text.UFormat
getLocale
 
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

MeasureFormat

protected MeasureFormat()
Deprecated. 
Status:
Internal. This API is Internal Only and can change at any time.
Method Detail

getCurrencyFormat

public static MeasureFormat getCurrencyFormat(ULocale locale)
Deprecated. This is a draft API and might change in a future release of ICU.

Return a formatter for CurrencyAmount objects in the given locale.

Parameters:
locale - desired locale
Returns:
a formatter object
Status:
Draft ICU 3.0.
Status:
Deprecated in This is a draft API and might change in a future release of ICU..

getCurrencyFormat

public static MeasureFormat getCurrencyFormat()
Deprecated. This is a draft API and might change in a future release of ICU.

Return a formatter for CurrencyAmount objects in the default locale.

Returns:
a formatter object
Status:
Draft ICU 3.0.
Status:
Deprecated in This is a draft API and might change in a future release of ICU..


Copyright (c) 2004 IBM Corporation and others.