com.garmin.fit
Class FitBaseUnit
java.lang.Object
com.garmin.fit.FitBaseUnit
public class FitBaseUnit
- extends java.lang.Object
Method Summary |
static java.lang.String |
getStringFromValue(java.lang.Integer value)
Retrieves the String Representation of the Value |
static java.lang.Integer |
getValueFromString(java.lang.String value)
Retrieves a value given a string representation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OTHER
public static final int OTHER
- See Also:
- Constant Field Values
KILOGRAM
public static final int KILOGRAM
- See Also:
- Constant Field Values
POUND
public static final int POUND
- See Also:
- Constant Field Values
INVALID
public static final int INVALID
FitBaseUnit
public FitBaseUnit()
getStringFromValue
public static java.lang.String getStringFromValue(java.lang.Integer value)
- Retrieves the String Representation of the Value
- Returns:
- The string representation of the value, or empty if unknown
getValueFromString
public static java.lang.Integer getValueFromString(java.lang.String value)
- Retrieves a value given a string representation
- Returns:
- The value or INVALID if unkwown