|
||||||||||
| 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.GPSGmapsHTMLFile
public final class GPSGmapsHTMLFile
Class to write a GPX file.
| 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 | |
|---|---|
GPSGmapsHTMLFile()
|
|
| Method Summary | |
|---|---|
void |
finaliseFile()
Method called when all parsing is finished and the last file has to be closed. |
void |
initialiseFile(BT747Path basename,
java.lang.String ext,
int oneFilePerDay)
This function has to be called at some time to initialize the file conversion. |
boolean |
nextPass()
Called when the input file has been parsed. |
void |
writeRecord(GPSRecord r)
Called for any new position. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GPSGmapsHTMLFile()
| Method Detail |
|---|
public void initialiseFile(BT747Path basename,
java.lang.String ext,
int oneFilePerDay)
GPSFile
initialiseFile in interface GPSFileConfInterfaceinitialiseFile in class GPSFilebasename - Base name of the output file. This value will be provided to
the filename builder.ext - Extension of the output file. This value will be provided to
the filename builder.oneFilePerDay - Indicates how the file must be separated.AppSettings.SPLIT_ONE_FILE,
AppSettings.SPLIT_ONE_FILE_PER_DAY,
AppSettings.SPLIT_ONE_FILE_PER_TRACKpublic boolean nextPass()
GPSFile
nextPass in interface GPSFileConverterInterfacenextPass in class GPSFilepublic void writeRecord(GPSRecord r)
GPSFileGPSFile.t property set.
writeRecord in class GPSFiler - information regarding the position.public void finaliseFile()
GPSFile
finaliseFile in interface GPSFileConverterInterfacefinaliseFile in class GPSFile
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||