|
Platypus | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.pz.platypus.utilities.Conversions
public class Conversions
Performs various conversions of units of measure.
| Constructor Summary | |
|---|---|
Conversions()
|
|
| Method Summary | |
|---|---|
static float |
convertParameterToPoints(CommandParameter cp,
DocData docData)
Utility function to convert units in command parameters to points |
static java.lang.String |
convertParameterUnitToString(CommandParameter cp,
GDD gdd)
Converts a parameter unit type to a descriptive string (for error messages) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Conversions()
| Method Detail |
|---|
public static float convertParameterToPoints(CommandParameter cp,
DocData docData)
cp - the command parameterdocData - which is used in a few calculations
public static java.lang.String convertParameterUnitToString(CommandParameter cp,
GDD gdd)
cp - the parameter containing the unit typegdd - the GDD, containing the table of literals
|
Platypus | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||