gps.log.in
Class CommonIn

java.lang.Object
  extended by gps.log.in.CommonIn

public final class CommonIn
extends java.lang.Object


Constructor Summary
CommonIn()
           
 
Method Summary
static void adjustHeight(GPSRecord r, int factorConversionWGS84ToMSL)
           
static int analyzeGPGGA(java.lang.String[] sNmea, GPSRecord gpsRec)
          Analyze a GPGGA sentence.
static int analyzeGPGSV(java.lang.String[] sNmea, GPSRecord gpsRec)
          Analyze a GPGSV sentence.
static int analyzeGPRMC(java.lang.String[] sNmea, GPSRecord gpsRec)
          Analyze a GPRMC sentence.
static int analyzeNMEA(java.lang.String[] sNmea, GPSRecord gpsRec)
          Analyze a NMEA sentence.
static void convertHeight(GPSRecord r, int factorConversionWGS84ToMSL, int logFormat)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommonIn

public CommonIn()
Method Detail

analyzeNMEA

public static final int analyzeNMEA(java.lang.String[] sNmea,
                                    GPSRecord gpsRec)
Analyze a NMEA sentence.

Parameters:
sNmea - elements of the sentence.
gpsRec - The record that will hold the updated information.
Returns:
logFormat indicating the fields that were filled.

analyzeGPRMC

public static final int analyzeGPRMC(java.lang.String[] sNmea,
                                     GPSRecord gpsRec)
Analyze a GPRMC sentence.

Parameters:
sNmea - elements of the sentence.
gpsRec - The record that will hold the updated information.
Returns:
logFormat indicating the fields that were filled.

analyzeGPGGA

public static final int analyzeGPGGA(java.lang.String[] sNmea,
                                     GPSRecord gpsRec)
Analyze a GPGGA sentence.

Parameters:
sNmea - elements of the sentence.
gpsRec - The record that will hold the updated information.
Returns:
logFormat indicating the fields that were filled.

analyzeGPGSV

public static final int analyzeGPGSV(java.lang.String[] sNmea,
                                     GPSRecord gpsRec)
Analyze a GPGSV sentence.

Parameters:
sNmea - elements of the sentence.
gpsRec - The record that will hold the updated information.
Returns:
logFormat indicating the fields that were filled.

convertHeight

public static final void convertHeight(GPSRecord r,
                                       int factorConversionWGS84ToMSL,
                                       int logFormat)

adjustHeight

public static final void adjustHeight(GPSRecord r,
                                      int factorConversionWGS84ToMSL)