Uses of Enum
org.apache.sis.measure.UnitFormat.Style
Packages that use UnitFormat.Style
Package
Description
Units of measurements, values related to measurement (like angles and ranges) and their formatters.
-
Uses of UnitFormat.Style in org.apache.sis.measure
Fields in org.apache.sis.measure declared as UnitFormat.StyleModifier and TypeFieldDescriptionprivate UnitFormat.Style
UnitFormat.style
Whether thisUnitFormat
should format long names like "metre" or use unit symbols.Methods in org.apache.sis.measure that return UnitFormat.StyleModifier and TypeMethodDescriptionUnitFormat.getStyle()
Returns whether unit formatting uses ASCII symbols, Unicode symbols or full localized names.static UnitFormat.Style
Returns the enum constant of this type with the specified name.static UnitFormat.Style[]
UnitFormat.Style.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.sis.measure with parameters of type UnitFormat.StyleModifier and TypeMethodDescriptionprivate static void
UnitFormat.formatComponent
(Map.Entry<?, ? extends Number> entry, boolean inverse, UnitFormat.Style style, Appendable toAppendTo) Formats a single unit or dimension raised to the given power.(package private) static void
UnitFormat.formatComponents
(Map<?, ? extends Number> components, UnitFormat.Style style, Appendable toAppendTo) Creates a new symbol (e.g.private static void
UnitFormat.formatSymbol
(Object base, UnitFormat.Style style, Appendable toAppendTo) Appends the symbol for the given base unit of base dimension, or "?" if no symbol was found.void
UnitFormat.setStyle
(UnitFormat.Style style) Sets whether unit formatting should use ASCII symbols, Unicode symbols or full localized names.