java.lang.Object
io.sf.jclf.text.UnitParser
Parses a string that contains a number and an unit (e.g. "12cm").
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the unit name.Gets the unparsed string containing this vale+unit.getValue()
Gets the value, as a string.
-
Constructor Details
-
UnitParser
-
-
Method Details
-
getUnparsedValue
Gets the unparsed string containing this vale+unit.- Returns:
- the unparsed string
-
getValue
Gets the value, as a string.- Returns:
- the value.
-
getUnitName
Gets the unit name.- Returns:
- the unit.
-