javax.measure.spi.FormatService, tech.uom.lib.common.function.IntPrioritySupplierpublic class DefaultFormatService extends Object implements javax.measure.spi.FormatService, tech.uom.lib.common.function.IntPrioritySupplier
| Constructor | Description |
|---|---|
DefaultFormatService() |
| Modifier and Type | Method | Description |
|---|---|---|
Set<String> |
getAvailableFormatNames(javax.measure.spi.FormatService.FormatType type) |
|
int |
getPriority() |
|
javax.measure.format.QuantityFormat |
getQuantityFormat() |
|
javax.measure.format.QuantityFormat |
getQuantityFormat(String key) |
|
javax.measure.format.UnitFormat |
getUnitFormat() |
|
javax.measure.format.UnitFormat |
getUnitFormat(String key) |
|
javax.measure.format.UnitFormat |
getUnitFormat(String name,
String variant) |
public DefaultFormatService()
public javax.measure.format.QuantityFormat getQuantityFormat(String key)
getQuantityFormat in interface javax.measure.spi.FormatServicepublic javax.measure.format.QuantityFormat getQuantityFormat()
getQuantityFormat in interface javax.measure.spi.FormatServicepublic Set<String> getAvailableFormatNames(javax.measure.spi.FormatService.FormatType type)
getAvailableFormatNames in interface javax.measure.spi.FormatServicepublic javax.measure.format.UnitFormat getUnitFormat(String key)
getUnitFormat in interface javax.measure.spi.FormatServicepublic javax.measure.format.UnitFormat getUnitFormat()
getUnitFormat in interface javax.measure.spi.FormatServicepublic javax.measure.format.UnitFormat getUnitFormat(String name, String variant)
getUnitFormat in interface javax.measure.spi.FormatServicepublic int getPriority()
getPriority in interface tech.uom.lib.common.function.IntPrioritySupplierCopyright © 2005–2023 Units of Measurement project. All rights reserved.