|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use UnitFormat | |
---|---|
javax.measure | Provides strongly typed measurements to enforce compile-time check of parameters consistency and avoid interface errors. |
javax.measure.unit | Provides support for programatic unit handling. |
Uses of UnitFormat in javax.measure |
---|
Methods in javax.measure with parameters of type UnitFormat | |
---|---|
static MeasureFormat |
MeasureFormat.getInstance(java.text.NumberFormat numberFormat,
UnitFormat unitFormat)
Returns the measure format using the specified number format and unit format (the number and unit are separated by a space). |
Uses of UnitFormat in javax.measure.unit |
---|
Subclasses of UnitFormat in javax.measure.unit | |
---|---|
protected static class |
UnitFormat.ASCIIFormat
This class represents the ASCIIFormat format. |
protected static class |
UnitFormat.DefaultFormat
This class represents the standard format. |
Methods in javax.measure.unit that return UnitFormat | |
---|---|
static UnitFormat |
UnitFormat.getInstance()
Returns the unit format for the default locale (format used by Unit.valueOf(CharSequence) and
Unit.toString() ). |
static UnitFormat |
UnitFormat.getInstance(java.util.Locale inLocale)
Returns the unit format for the specified locale. |
static UnitFormat |
UnitFormat.getUCUMInstance()
Returns the UCUM international unit format; this format uses characters range 0000-007F exclusively and is not locale-sensitive. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |