gps.log.out
Class GPSPLTFile

java.lang.Object
  extended by gps.log.out.GPSFile
      extended by gps.log.out.GPSPLTFile
All Implemented Interfaces:
GPSFileConverterInterface, GPSFileConfInterface, GPSFileInterface

public final class GPSPLTFile
extends GPSFile

Class to write a PLT file (OZI).

Author:
Mario De Weerd

Field Summary
 
Fields inherited from class gps.log.out.GPSFile
FILE_SPLIT_NONE, FILE_SPLIT_ONE_FILE_PER_DAY, FILE_SPLIT_ONE_FILE_PER_TRACK
 
Constructor Summary
GPSPLTFile()
           
 
Method Summary
 void writeFileHeader(java.lang.String s)
          This method is to be extended as needed and is called when the file header must be written.
 void writeRecord(GPSRecord r)
          Called for any new position.
 
Methods inherited from class gps.log.out.GPSFile
addLogRecord, cachedRecordIsNeeded, finaliseFile, getBadTrackColor, getErrorInfo, getFilesCreated, getGoodTrackColor, getMaxDiff, getNbrFilesCreated, getParamObject, getUserWayPointList, initialiseFile, isAddLogConditionInfo, isOverridePreviousTag, isRecordNbrInLogs, needPassToFindFieldsActivatedInLog, nextPass, setActiveFileFields, setAddLogConditionInfo, setBadTrackColor, setFilenameBuilder, setFilters, setGoodTrackColor, setImperial, setIncludeTrkComment, setIncludeTrkName, setMaxDiff, setOutputFields, setOverridePreviousTag, setParamObject, setRecordNbrInLogs, setTimeOffset, setTrackSepTime, setUserWayPointList, setWayPointTimeCorrection, writeLogFmtHeader
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GPSPLTFile

public GPSPLTFile()
Method Detail

writeFileHeader

public void writeFileHeader(java.lang.String s)
Description copied from class: GPSFile
This method is to be extended as needed and is called when the file header must be written. This method is called only once for each output file.

Parameters:
s - Identifier for the output file that can be used in the header.

writeRecord

public final void writeRecord(GPSRecord r)
Description copied from class: GPSFile
Called for any new position. This method is called by the input analysis class and should be extended for the output format. The extension must call super(). That will make sure that the appropriate files are opened, and the GPSFile.t property set.

Overrides:
writeRecord in class GPSFile
Parameters:
r - information regarding the position.