javax.measure.spi.UnitFormatService
, tech.uom.lib.common.function.IntPrioritySupplier
DefaultFormatService
@Deprecated public class DefaultUnitFormatService extends Object implements javax.measure.spi.UnitFormatService, tech.uom.lib.common.function.IntPrioritySupplier
Modifier and Type | Field | Description |
---|---|---|
protected Map<String,javax.measure.format.UnitFormat> |
unitFormats |
Deprecated.
|
Constructor | Description |
---|---|
DefaultUnitFormatService() |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
Set<String> |
getAvailableFormatNames() |
Deprecated.
|
int |
getPriority() |
Deprecated.
|
javax.measure.format.UnitFormat |
getUnitFormat() |
Deprecated.
|
javax.measure.format.UnitFormat |
getUnitFormat(String formatName) |
Deprecated.
|
protected final Map<String,javax.measure.format.UnitFormat> unitFormats
public DefaultUnitFormatService()
public javax.measure.format.UnitFormat getUnitFormat(String formatName)
getUnitFormat
in interface javax.measure.spi.UnitFormatService
public javax.measure.format.UnitFormat getUnitFormat()
getUnitFormat
in interface javax.measure.spi.UnitFormatService
public Set<String> getAvailableFormatNames()
getAvailableFormatNames
in interface javax.measure.spi.UnitFormatService
public int getPriority()
getPriority
in interface tech.uom.lib.common.function.IntPrioritySupplier
Copyright © 2005–2020 Units of Measurement project. All rights reserved.