Uses of Class
org.odftoolkit.odfdom.type.Length.Unit
-
Packages that use Length.Unit Package Description org.odftoolkit.odfdom.type -
-
Uses of Length.Unit in org.odftoolkit.odfdom.type
Methods in org.odftoolkit.odfdom.type that return Length.Unit Modifier and Type Method Description static Length.Unit
Length. parseUnit(String length)
Returns the Unit of the given length.static Length.Unit
Length.Unit. valueOf(String name)
Returns the enum constant of this type with the specified name.static Length.Unit[]
Length.Unit. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.odftoolkit.odfdom.type with parameters of type Length.Unit Modifier and Type Method Description static Double
Length. getLength(String length, Length.Unit destinationUnit)
Maps the a length string to a different unitstatic String
Length. mapToUnit(String length, Length.Unit destinationUnit)
Maps the a length string to a different unitString
Length. mapToUnit(Length.Unit destinationUnit)
static double
Length. parseDouble(String length, Length.Unit destinationUnit)
Maps the a length string to a different unitstatic int
Length. parseInt(String length, Length.Unit destinationUnit)
Returns the value of the given length as int.static long
Length. parseLong(String length, Length.Unit destinationUnit)
Maps the a length string to a different unit
-