public enum GpsLogMode extends java.lang.Enum<GpsLogMode>
Enum Constant and Description |
---|
CSV
Log GPS using CSV format, in the order latitude, longitude, elevation, and timestamp
(the latter in the format accepted by Microsoft Excel).
|
GPSD_JSON
Log GPS using GPSD's JSON structure format, one complete structure (with all sub-structures)
per line in the text log file.
|
GPX
Log GPS using the GPX (GPS eXchange format) XML schema.
|
NATIVE
Log GPS data using the legacy mode that YAAC used prior to the implementation of a choice
of GPS logging mode.
|
NMEA0183
Log GPS using NMEA-0183 format, regardless of the actual incoming format.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFileType()
Get the file type to be displayed or used for log files of this type.
|
java.lang.Class<? extends GpsLogger> |
getLoggerClass()
Get the class that implements a logger of the specified mode.
|
java.lang.String |
toString()
Returns the name of this enum constant, as contained in the
declaration.
|
static GpsLogMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GpsLogMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GpsLogMode NATIVE
public static final GpsLogMode CSV
public static final GpsLogMode NMEA0183
public static final GpsLogMode GPSD_JSON
public static final GpsLogMode GPX
public static GpsLogMode[] values()
for (GpsLogMode c : GpsLogMode.values()) System.out.println(c);
public static GpsLogMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getFileType()
public java.lang.Class<? extends GpsLogger> getLoggerClass()
GpsLogger
> of the loggerpublic java.lang.String toString()
toString
in class java.lang.Enum<GpsLogMode>