com.garmin.fit
Enum File
java.lang.Object
java.lang.Enum<File>
com.garmin.fit.File
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<File>
public enum File
- extends java.lang.Enum<File>
Field Summary |
protected short |
value
|
Method Summary |
static File |
getByValue(java.lang.Short value)
|
static java.lang.String |
getStringFromValue(File value)
Retrieves the String Representation of the Value |
short |
getValue()
|
static File |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static File[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
DEVICE
public static final File DEVICE
SETTINGS
public static final File SETTINGS
SPORT
public static final File SPORT
ACTIVITY
public static final File ACTIVITY
WORKOUT
public static final File WORKOUT
COURSE
public static final File COURSE
SCHEDULES
public static final File SCHEDULES
WEIGHT
public static final File WEIGHT
TOTALS
public static final File TOTALS
GOALS
public static final File GOALS
BLOOD_PRESSURE
public static final File BLOOD_PRESSURE
MONITORING_A
public static final File MONITORING_A
ACTIVITY_SUMMARY
public static final File ACTIVITY_SUMMARY
MONITORING_DAILY
public static final File MONITORING_DAILY
MONITORING_B
public static final File MONITORING_B
SEGMENT
public static final File SEGMENT
SEGMENT_LIST
public static final File SEGMENT_LIST
EXD_CONFIGURATION
public static final File EXD_CONFIGURATION
MFG_RANGE_MIN
public static final File MFG_RANGE_MIN
MFG_RANGE_MAX
public static final File MFG_RANGE_MAX
INVALID
public static final File INVALID
value
protected short value
values
public static File[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (File c : File.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static File valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
getByValue
public static File getByValue(java.lang.Short value)
getStringFromValue
public static java.lang.String getStringFromValue(File value)
- Retrieves the String Representation of the Value
- Returns:
- The string representation of the value
getValue
public short getValue()