|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgps.log.in.GPSLogConvertInterface
gps.log.in.CSVLogConvert
public final class CSVLogConvert
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.
Constructor Summary | |
---|---|
CSVLogConvert()
|
Method Summary | |
---|---|
int |
getType()
|
int |
parseFile(java.lang.Object file,
GPSFileConverterInterface gpsFile)
Parse the source file (here a CSV) and provide the records to gpsFile (the builder). |
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 |
---|
public CSVLogConvert()
Method Detail |
---|
public final int parseFile(java.lang.Object file, GPSFileConverterInterface gpsFile)
parseFile
in class GPSLogConvertInterface
file
- Source file representation.gpsFile
- The object representing the output builder.
BT747Constants.NO_ERROR
if no error (0)GPSFileConverterInterface
public final int toGPSFile(BT747Path path, GPSFileConverterInterface gpsFile)
toGPSFile
in class GPSLogConvertInterface
public int getType()
getType
in class GPSLogConvertInterface
Model.TRL_LOGTYPE
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |