|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.simantics.databoard.Units
public class Units
Field Summary | |
---|---|
static UnitLibrary |
library
|
Constructor Summary | |
---|---|
Units()
|
Method Summary | |
---|---|
static double |
convert(double value,
java.lang.String sourceUnit,
java.lang.String targetUnit)
|
static IUnitConverter |
createConverter(java.lang.String sourceUnit,
java.lang.String targetUnit)
Create converter |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static UnitLibrary library
Constructor Detail |
---|
public Units()
Method Detail |
---|
public static IUnitConverter createConverter(java.lang.String sourceUnit, java.lang.String targetUnit) throws UnitParseException
sourceUnit
- targetUnit
-
UnitParseException
public static double convert(double value, java.lang.String sourceUnit, java.lang.String targetUnit) throws UnitParseException
UnitParseException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |