| Package | Description |
|---|---|
| javax.measure.format |
[OPTIONAL] Provides Formatting and Parsing functionality for units, quantities, dimensions or their textual representation.
|
| Modifier and Type | Class | 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 | Description |
|---|---|---|
Quantity<?> |
QuantityFormat.parse(CharSequence csq) |
Parses a portion of the specified
CharSequence from the specified position to produce a Quantity. |
Quantity<?> |
QuantityFormat.parse(CharSequence csq,
ParsePosition pos) |
Parses a portion of the specified
CharSequence from the specified position to produce a Quantity. |
Unit<?> |
UnitFormat.parse(CharSequence csq) |
Parses the text into an instance of
Unit. |
Unit<?> |
UnitFormat.parse(CharSequence csq,
ParsePosition pos) |
Parses a portion of the specified
CharSequence from the specified position to produce a Unit. |
Copyright © 2014–2019 Jean-Marie Dautelle, Werner Keil, Otavio Santana. All rights reserved.