protected static class GeoToolsUnitFormat.BaseGT2Format
extends SimpleUnitFormat
UnitFormat
default instance contentsConstructor and Description |
---|
BaseGT2Format() |
Modifier and Type | Method and Description |
---|---|
protected void |
addUnit(Unit<?> unit)
Defaults to being a no-op, subclasses can override
|
Appendable |
format(Unit<?> unit,
Appendable appendable) |
protected void |
initUnits(UnitFormat base) |
void |
label(Unit<?> unit,
String label) |
protected String |
nameFor(Unit<?> unit) |
protected void initUnits(UnitFormat base)
protected void addUnit(Unit<?> unit)
unit
- public void label(Unit<?> unit, String label)
label
in interface UnitFormat
public Appendable format(Unit<?> unit, Appendable appendable) throws IOException
format
in interface UnitFormat
IOException
protected String nameFor(Unit<?> unit)
Copyright © 1996–2019 Geotools. All rights reserved.