|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.fhg.igd.gps.NMEA183Sentence de.fhg.igd.gps.NMEA183GLLSentence
GLL - Geographic position, Latitude and Longitude
Field Summary | |
protected String |
dataStatus_
Data status: A = ok V = warning |
protected Latitude |
latitude_
Latitude |
protected Longitude |
longitude_
Longitude |
protected Date |
timestamp_
Fix taken at ( Universal Time Coordinated (UTC) ) |
Fields inherited from class de.fhg.igd.gps.NMEA183Sentence |
checksum_, fields_, sentenceId_, sentenceId_desc_, talkerId_, talkerId_desc_ |
Constructor Summary | |
NMEA183GLLSentence(String talkerId)
Constructs a new NMEAGLL183Sentence with the specified
talkerId . |
Method Summary | |
protected String |
bodyToString()
Returns the body part of this sentence's string representation. |
String |
getDataStatus()
Returns the data status of this sentence as a String object. |
Latitude |
getLatitude()
Returns the Latitude of this sentence. |
Longitude |
getLongitude()
Returns the Longitude of this sentence. |
Date |
getTimestamp()
Returns the time stamp of this sentence as a Date object. |
void |
parse(NMEA183Tokenizer tokenizer)
Reads and parses a NMEA183 sentence from tokenizer . |
Methods inherited from class de.fhg.igd.gps.NMEA183Sentence |
computeChecksum, getDateField, getFloatField, getIntegerField, getLatitudeField, getLongitudeField, getSentenceId, getStringField, hasChecksum, headerToString, rebuildSentence, toString, valid |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected Longitude longitude_
protected Latitude latitude_
protected Date timestamp_
protected String dataStatus_
Constructor Detail |
public NMEA183GLLSentence(String talkerId)
NMEAGLL183Sentence
with the specified
talkerId
.
talkerId
- the talker id of this NMEA183GLLSentence
Method Detail |
public void parse(NMEA183Tokenizer tokenizer) throws NMEA183SentenceFormatException
NMEA183Sentence
tokenizer
.
parse
in class NMEA183Sentence
tokenizer
- the NMEA183Tokenizer to read from
NMEA183SentenceFormatException
- if the read sentence does not have
the appropriate formatpublic Date getTimestamp()
Date
object.
Date
object.public Longitude getLongitude()
Longitude
of this sentence.
Longitude
of this sentencepublic Latitude getLatitude()
Latitude
of this sentence.
Latitude
of this sentencepublic String getDataStatus()
String
object.
String
objectprotected String bodyToString()
NMEA183Sentence
bodyToString
in class NMEA183Sentence
NMEA183Sentence.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |