Uses of Enum
org.odftoolkit.odfdom.type.Length.Unit
-
Uses of Length.Unit in org.odftoolkit.odfdom.type
Modifier and TypeMethodDescriptionstatic Length.Unit
Returns the Unit of the given length.static Length.Unit
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.Modifier and TypeMethodDescriptionstatic 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 unitLength.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