public interface UnitFormatService
UnitFormat instances.| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getAvailableFormatNames()
Gets a list with available format names for this format service.
|
UnitFormat |
getUnitFormat()
Returns the default unit format.
|
UnitFormat |
getUnitFormat(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(String name)
null if none.
For example getUnitFormat("UCUM") to return a UCUM specific UnitFormat implementation.name - the name of the format.Set<String> getAvailableFormatNames()
Copyright © 2014–2016 Jean-Marie Dautelle, Werner Keil, V2COM. All rights reserved.