public abstract class NMEASentence
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
LATITUDE |
static int |
LONGITUDE |
Constructor and Description |
---|
NMEASentence() |
Modifier and Type | Method and Description |
---|---|
protected float |
degreesMinToDegrees(java.lang.String DD_MM,
int CoordinateType)
Any GPS Receiver gives Lat/Lon data in the following way:
http://www.gpsinformation.org/dale/nmea.htm
http://www.teletype.com/pages/support/Documentation/RMC_log_info.htm
4807.038,N Latitude 48 deg 07.038' N
01131.000,E Longitude 11 deg 31.000' E
This data is necessary to convert to Decimal Degrees.
|
abstract java.lang.String |
getHeader()
Retrieve the header constant for this sentence.
|
boolean |
isNumeric(java.lang.String s) |
protected abstract void |
parse(java.lang.String sentence)
Abstract method to parse out all relevant data from the nmeaSentence.
|
public static final int LATITUDE
public static final int LONGITUDE
public abstract java.lang.String getHeader()
protected abstract void parse(java.lang.String sentence)
protected float degreesMinToDegrees(java.lang.String DD_MM, int CoordinateType)
DD_MM
- CoordinateType
- public final boolean isNumeric(java.lang.String s)