|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.TimerTask
org.ka2ddo.yaac.core.FileLogger<java.lang.String>
org.ka2ddo.yaac.core.GPSLogger
public class GPSLogger
This class batches up logging ASCII GPS message (NMEA-0183 format) to a text file.
Constructor Summary | |
---|---|
GPSLogger()
|
Method Summary | |
---|---|
void |
dumpRecordQueueToFile(java.io.File logFileFile,
java.util.ArrayList<java.lang.String> recordQueue)
Subclasses should implement this method to open the specified sequential file for append, then write each of the records in the recordQueue in order to the file, then close the file. |
Methods inherited from class org.ka2ddo.yaac.core.FileLogger |
---|
flush, log, log, log, run, setDatePattern, setDefaultLogDir, setFilePrefix, setFileSuffix, setFlushInterval, setLogDirectory, shutdown |
Methods inherited from class java.util.TimerTask |
---|
cancel, scheduledExecutionTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GPSLogger()
Method Detail |
---|
public void dumpRecordQueueToFile(java.io.File logFileFile, java.util.ArrayList<java.lang.String> recordQueue) throws java.io.IOException
FileLogger
dumpRecordQueueToFile
in class FileLogger<java.lang.String>
logFileFile
- File identifying the log file to open and writerecordQueue
- the ArrayList of ordered records to write
java.io.IOException
- if record saving fails for any reason
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |