- All Implemented Interfaces:
- UnitFormat
- Direct Known Subclasses:
- NetCDFUnitFormat.AbstractNetCDFUnitFormat
public abstract class GeoToolsUnitFormat
extends SimpleUnitFormat
Base class extending UOM SimpleUnitFormat that provides the same setup as SimpleUnitFormat.getInstance()
but allows for extension and can, unlike the libraries we depend
on, actually parse back what it formatted (might be reworked/removed once this ticket is solved,
https://github.com/unitsofmeasurement/uom-se/issues/201, but will require an overhaul of our unit
dependencies to a new set of jars). It can also be used to build special subclasses without
littering the main SimpleUnitFormat with a single global configuration summing up different
points of view.
- Author:
- Andrea Aime - GeoSolutions