Class DefaultFormatService

  • All Implemented Interfaces:
    javax.measure.spi.FormatService, javax.measure.spi.UnitFormatService, tech.uom.lib.common.function.IntPrioritySupplier

    public class DefaultFormatService
    extends DefaultUnitFormatService
    implements javax.measure.spi.FormatService
    Default format service.
    Since:
    2.0
    Version:
    1.0, March 19, 2019
    Author:
    Werner Keil
    • Method Detail

      • getQuantityFormat

        public javax.measure.format.QuantityFormat getQuantityFormat​(String name)
        Specified by:
        getQuantityFormat in interface javax.measure.spi.FormatService
      • getQuantityFormat

        public javax.measure.format.QuantityFormat getQuantityFormat()
        Specified by:
        getQuantityFormat in interface javax.measure.spi.FormatService
      • getAvailableFormatNames

        public Set<String> getAvailableFormatNames​(javax.measure.spi.FormatService.FormatType type)
        Specified by:
        getAvailableFormatNames in interface javax.measure.spi.FormatService