public interface UnitFormatService
UnitFormat instances.| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.String> |
getAvailableFormatNames()
Gets a list with available format names for this format service.
|
UnitFormat |
getUnitFormat()
Returns the default unit format.
|
UnitFormat |
getUnitFormat(java.lang.String name)
Returns the unit format having the specified name or
null if none. |
UnitFormat getUnitFormat()
Locale.current() while others may return getUnitFormat("Simple") or getUnitFormat("ISO")UnitFormat implementation.UnitFormat getUnitFormat(java.lang.String name)
null if none.
For example getUnitFormat("UCUM") to return a UCUM specific UnitFormat implementation.name - the name of the format.java.util.Set<java.lang.String> getAvailableFormatNames()
Copyright © 2014–2018 Jean-Marie Dautelle, Werner Keil, Otavio Santana. All rights reserved.