public class DefaultFormatService extends DefaultUnitFormatService implements javax.measure.spi.FormatService, tech.uom.lib.common.function.IntPrioritySupplier
unitFormats| Constructor and Description |
|---|
DefaultFormatService() |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getAvailableFormatNames(javax.measure.spi.FormatService.FormatType type) |
int |
getPriority() |
javax.measure.format.QuantityFormat |
getQuantityFormat() |
javax.measure.format.QuantityFormat |
getQuantityFormat(String name) |
getAvailableFormatNames, getUnitFormat, getUnitFormatpublic DefaultFormatService()
public int getPriority()
getPriority in interface tech.uom.lib.common.function.IntPrioritySuppliergetPriority in class DefaultUnitFormatServicepublic javax.measure.format.QuantityFormat getQuantityFormat(String name)
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.FormatServiceCopyright © 2005–2018 Units of Measurement project. All rights reserved.