gps.log.in
Class HoluxTrlLogConvert

java.lang.Object
  extended by gps.log.in.GPSLogConvertInterface
      extended by gps.log.in.HoluxTrlLogConvert

public final class HoluxTrlLogConvert
extends GPSLogConvertInterface

This class is used to convert the binary log to a new format. Basically this class interprets the log and creates a GPSRecord. The GPSRecord is then sent to the GPSFileConverterInterface class object to write it to the output.

Author:
Mario De Weerd

Constructor Summary
HoluxTrlLogConvert()
           
 
Method Summary
 int getType()
           
 int parseFile(java.lang.Object file, GPSFileConverterInterface gpsFile)
          Parses the file once and will use GPSFile to generate the output.
 int toGPSFile(BT747Path path, GPSFileConverterInterface gpsFile)
           
 
Methods inherited from class gps.log.in.GPSLogConvertInterface
getErrorInfo, getLoggerType, setConvertWGS84ToMSL, setLoggerType, stopConversion
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HoluxTrlLogConvert

public HoluxTrlLogConvert()
Method Detail

parseFile

public final int parseFile(java.lang.Object file,
                           GPSFileConverterInterface gpsFile)
Description copied from class: GPSLogConvertInterface
Parses the file once and will use GPSFile to generate the output.

Specified by:
parseFile in class GPSLogConvertInterface
gpsFile - Represents the structure to generate the output.
Returns:
error indication.

toGPSFile

public final int toGPSFile(BT747Path path,
                           GPSFileConverterInterface gpsFile)
Specified by:
toGPSFile in class GPSLogConvertInterface

getType

public int getType()
Specified by:
getType in class GPSLogConvertInterface
Returns:
log type such as Model.TRL_LOGTYPE.