|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgps.log.out.GPSFile
gps.log.out.GPSArray
public final class GPSArray
Class to output to an internal array.
| 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 | |
|---|---|
GPSArray()
|
|
| Method Summary | |
|---|---|
void |
finaliseFile()
Method called when all parsing is finished and the last file has to be closed. |
GPSRecord[] |
getGpsTrackPoints()
|
GPSRecord[] |
getGpsWayPoints()
|
TracksAndWayPoints |
getResult()
|
void |
initialiseFile(BT747Path baseName,
java.lang.String extension,
int fileSeparationFreq)
This function has to be called at some time to initialize the file conversion. |
boolean |
needPassToFindFieldsActivatedInLog()
|
boolean |
nextPass()
Called when the input file has been parsed. |
void |
writeRecord(GPSRecord s)
Called for any new position. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GPSArray()
| Method Detail |
|---|
public void initialiseFile(BT747Path baseName,
java.lang.String extension,
int fileSeparationFreq)
GPSFile
initialiseFile in interface GPSFileConfInterfaceinitialiseFile in class GPSFilebaseName - Base name of the output file. This value will be provided to
the filename builder.extension - Extension of the output file. This value will be provided to
the filename builder.fileSeparationFreq - Indicates how the file must be separated.AppSettings.SPLIT_ONE_FILE,
AppSettings.SPLIT_ONE_FILE_PER_DAY,
AppSettings.SPLIT_ONE_FILE_PER_TRACKpublic final boolean needPassToFindFieldsActivatedInLog()
needPassToFindFieldsActivatedInLog in interface GPSFileConverterInterfaceneedPassToFindFieldsActivatedInLog in class GPSFilepublic void finaliseFile()
GPSFile
finaliseFile in interface GPSFileConverterInterfacefinaliseFile in class GPSFilepublic final boolean nextPass()
GPSFile
nextPass in interface GPSFileConverterInterfacenextPass in class GPSFilepublic final void writeRecord(GPSRecord s)
GPSFileGPSFile.t property set.
writeRecord in class GPSFiles - information regarding the position.public final GPSRecord[] getGpsTrackPoints()
public final GPSRecord[] getGpsWayPoints()
public final TracksAndWayPoints getResult()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||