|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lejos.addon.gps.NMEASentence
public abstract class NMEASentence
Class designed to manage all NMEA Sentence. GGA and RMC Sentence needs to validate data. This class has methods to validate received data
Constructor Summary | |
---|---|
NMEASentence()
|
Method Summary | |
---|---|
abstract String |
getHeader()
Retrieve the header constant for this sentence. |
long |
getTimeStamp()
This method returns the system time at which the data for the NMEA Sentence was collected. |
static boolean |
isValid(String sentence)
Return if your NMEA Sentence is valid or not |
void |
setSentence(String sentence)
Set a new nmea sentence into the object |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NMEASentence()
Method Detail |
---|
public abstract String getHeader()
public void setSentence(String sentence)
sentence
- public long getTimeStamp()
public static boolean isValid(String sentence)
sentence
- the NMEA sentence
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |