Class DefaultUnitFormatService

  • All Implemented Interfaces:
    javax.measure.spi.UnitFormatService, tech.uom.lib.common.function.IntPrioritySupplier
    Direct Known Subclasses:
    DefaultFormatService

    @Deprecated
    public class DefaultUnitFormatService
    extends Object
    implements javax.measure.spi.UnitFormatService, tech.uom.lib.common.function.IntPrioritySupplier
    Deprecated.
    For backward-compatibility, to be removed in a future version.
    Default unit format service.
    Since:
    1.0
    Version:
    1.0, August 21, 2019
    Author:
    Werner Keil
    • Field Detail

      • unitFormats

        protected final Map<String,​javax.measure.format.UnitFormat> unitFormats
        Deprecated.
    • Method Detail

      • getUnitFormat

        public javax.measure.format.UnitFormat getUnitFormat​(String formatName)
        Deprecated.
        Specified by:
        getUnitFormat in interface javax.measure.spi.UnitFormatService
      • getUnitFormat

        public javax.measure.format.UnitFormat getUnitFormat()
        Deprecated.
        Specified by:
        getUnitFormat in interface javax.measure.spi.UnitFormatService
      • getAvailableFormatNames

        public Set<String> getAvailableFormatNames()
        Deprecated.
        Specified by:
        getAvailableFormatNames in interface javax.measure.spi.UnitFormatService
      • getPriority

        public int getPriority()
        Deprecated.
        Specified by:
        getPriority in interface tech.uom.lib.common.function.IntPrioritySupplier