|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.levigo.jadice.document.Documents
public class Documents
This utility class contains various utility methods related to documents.
Method Summary | |
---|---|
static double |
convertFromDocumentUnits(Unit toUnit,
double value)
Convert the given value from jadice document units to the given unit. |
static float |
convertFromDocumentUnits(Unit toUnit,
float value)
Convert the given value from jadice document units to the given unit. |
static double |
convertToDocumentUnits(Unit fromUnit,
double value)
Convert the given value from the given unit to jadice document units. |
static float |
convertToDocumentUnits(Unit fromUnit,
float value)
Convert the given value from the given unit to jadice document units. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static float convertFromDocumentUnits(Unit toUnit, float value)
toUnit
- the Unit
to convert tovalue
- the value to convert
NullPointerException
- if toUnit is null
public static float convertToDocumentUnits(Unit fromUnit, float value)
fromUnit
- the Unit
to convert fromvalue
- the value to convert
NullPointerException
- if fromUnit is null
public static double convertFromDocumentUnits(Unit toUnit, double value)
toUnit
- the Unit
to convert tovalue
- the value to convert
NullPointerException
- if toUnit is null
public static double convertToDocumentUnits(Unit fromUnit, double value)
fromUnit
- the Unit
to convert fromvalue
- the value to convert
NullPointerException
- if fromUnit is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |