Package org.geotools.measure
Interface UnitFormatter
-
- All Known Implementing Classes:
BaseUnitFormatter,EpsgUnitFormat,EsriUnitFormat,NetCDFUnitFormat,UnitFormat,WktUnitFormat
public interface UnitFormatterAn interface similar toUnitFormatbut without mutating methods.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Stringformat(Unit<?> unit)Appendableformat(Unit<?> unit, Appendable appendable)Unit<?>parse(CharSequence csq)Unit<?>parse(CharSequence csq, ParsePosition pos)
-
-
-
Method Detail
-
format
Appendable format(Unit<?> unit, Appendable appendable) throws IOException
- Throws:
IOException
-
format
default String format(Unit<?> unit)
-
parse
Unit<?> parse(CharSequence csq, ParsePosition pos) throws IllegalArgumentException, MeasurementParseException
- Throws:
IllegalArgumentExceptionMeasurementParseException
-
parse
Unit<?> parse(CharSequence csq) throws MeasurementParseException
- Throws:
MeasurementParseException
-
-