com.buglabs.nmea2
Class NMEASentenceFactory

java.lang.Object
  extended by com.buglabs.nmea2.NMEASentenceFactory

public class NMEASentenceFactory
extends java.lang.Object

This factory will return a valid NMEA object based on a NMEA string, or null if no match is available.


Field Summary
static java.lang.String[] SENTENCE_TYPES
          An array of supported message types.
 
Constructor Summary
NMEASentenceFactory()
           
 
Method Summary
static AbstractNMEASentence getSentence(java.lang.String gpsData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SENTENCE_TYPES

public static final java.lang.String[] SENTENCE_TYPES
An array of supported message types.

Constructor Detail

NMEASentenceFactory

public NMEASentenceFactory()
Method Detail

getSentence

public static AbstractNMEASentence getSentence(java.lang.String gpsData)
                                        throws NMEAParserException
Parameters:
gpsData -
Returns:
A Concrete NMEA object or null if there is no match.
Throws:
NMEAParserException