javax.measure.spi.FormatService
, javax.measure.spi.UnitFormatService
public class DefaultFormatService extends DefaultUnitFormatService implements javax.measure.spi.FormatService
unitFormats
Constructor | Description |
---|---|
DefaultFormatService() |
Modifier and Type | Method | Description |
---|---|---|
Set<String> |
getAvailableFormatNames(javax.measure.spi.FormatService.FormatType type) |
|
javax.measure.format.QuantityFormat |
getQuantityFormat() |
|
javax.measure.format.QuantityFormat |
getQuantityFormat(String name) |
getAvailableFormatNames, getPriority, getUnitFormat, getUnitFormat
public DefaultFormatService()
public javax.measure.format.QuantityFormat getQuantityFormat(String name)
getQuantityFormat
in interface javax.measure.spi.FormatService
public javax.measure.format.QuantityFormat getQuantityFormat()
getQuantityFormat
in interface javax.measure.spi.FormatService
public Set<String> getAvailableFormatNames(javax.measure.spi.FormatService.FormatType type)
getAvailableFormatNames
in interface javax.measure.spi.FormatService
Copyright © 2005–2020 Units of Measurement project. All rights reserved.