com.garmin.fit
Class Checksum

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

public class Checksum
extends java.lang.Object


Field Summary
static short CLEAR
           
static short INVALID
           
static short OK
           
 
Constructor Summary
Checksum()
           
 
Method Summary
static java.lang.String getStringFromValue(java.lang.Short value)
          Retrieves the String Representation of the Value
static java.lang.Short 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

CLEAR

public static final short CLEAR
See Also:
Constant Field Values

OK

public static final short OK
See Also:
Constant Field Values

INVALID

public static final short INVALID
Constructor Detail

Checksum

public Checksum()
Method Detail

getStringFromValue

public static java.lang.String getStringFromValue(java.lang.Short value)
Retrieves the String Representation of the Value

Returns:
The string representation of the value, or empty if unknown

getValueFromString

public static java.lang.Short getValueFromString(java.lang.String value)
Retrieves a value given a string representation

Returns:
The value or INVALID if unkwown