com.garmin.fit
Class FitBaseUnit

java.lang.Object
  extended by com.garmin.fit.FitBaseUnit

public class FitBaseUnit
extends java.lang.Object


Field Summary
static int INVALID
           
static int KILOGRAM
           
static int OTHER
           
static int POUND
           
 
Constructor Summary
FitBaseUnit()
           
 
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
 

Field Detail

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
Constructor Detail

FitBaseUnit

public FitBaseUnit()
Method Detail

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