Package org.vast.unit
Class UnitConversion
java.lang.Object
org.vast.unit.UnitConversion
This object contains routines to create UnitConverters and manage a local dictionary of units.
- Since:
 - May 4, 2006
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic UnitConverterHelper mehod to get the converter directly from the uom stringstatic UnitConvertergetConverter(Unit sourceUnit, Unit destUnit) Helper method to create the right converter given the specified source and destination units. 
- 
Constructor Details
- 
UnitConversion
public UnitConversion() 
 - 
 - 
Method Details
- 
createConverterToSI
Helper mehod to get the converter directly from the uom string- Parameters:
 uom-- Returns:
 - converter instance
 
 - 
getConverter
Helper method to create the right converter given the specified source and destination units.- Parameters:
 sourceUnit-destUnit-- Returns:
 - converter instance
 
 
 -