public interface UnitFormatter
UnitFormat
but elides mutating
methods.
It is used to protect global or shared UnitFormat instances from being changed inadvertently.
Modifier and Type | Method and Description |
---|---|
String |
format(Unit<?> unit) |
Appendable |
format(Unit<?> unit,
Appendable appendable) |
Unit<?> |
parse(CharSequence csq) |
Unit<?> |
parse(CharSequence csq,
ParsePosition pos) |
Appendable format(Unit<?> unit, Appendable appendable) throws IOException
IOException
String format(Unit<?> unit)
Unit<?> parse(CharSequence csq, ParsePosition pos) throws IllegalArgumentException, MeasurementParseException
IllegalArgumentException
MeasurementParseException
Unit<?> parse(CharSequence csq) throws MeasurementParseException
MeasurementParseException
Copyright © 1996–2022 Geotools. All rights reserved.