Class DefaultUnitFormatService

java.lang.Object
tech.units.indriya.internal.format.DefaultUnitFormatService
All Implemented Interfaces:
javax.measure.spi.UnitFormatService, tech.uom.lib.common.function.IntPrioritySupplier
Direct Known Subclasses:
DefaultFormatService

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:
0.6, March 30, 2018
Author:
Werner Keil
  • Field Details

    • unitFormats

      protected final Map<String, javax.measure.format.UnitFormat> unitFormats
      Deprecated.
  • Constructor Details

  • Method Details

    • 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

      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