Package | Description |
---|---|
javax.measure.format |
[OPTIONAL] Provides Formatting and Parsing functionality for units, quantities, dimensions or their textual representation.
|
Modifier and Type | Class and Description |
---|---|
class |
ParserException
Deprecated.
Use MeasurementParseException, this exception will be removed in a future version, it is here for backward compatibility only.
|
Modifier and Type | Method and Description |
---|---|
Quantity<?> |
QuantityFormat.parse(java.lang.CharSequence csq)
Parses a portion of the specified
CharSequence from the specified position to produce a Quantity . |
Unit<?> |
UnitFormat.parse(java.lang.CharSequence csq)
Parses the text into an instance of
Unit . |
Quantity<?> |
QuantityFormat.parse(java.lang.CharSequence csq,
java.text.ParsePosition cursor)
Parses a portion of the specified
CharSequence from the specified position to produce a Quantity . |
Unit<?> |
UnitFormat.parse(java.lang.CharSequence csq,
java.text.ParsePosition cursor)
Parses a portion of the specified
CharSequence from the specified position to produce a Unit . |
Copyright © 2014–2018 Jean-Marie Dautelle, Werner Keil, Otavio Santana. All rights reserved.