public class AX25Logger extends FileLogger<AX25Frame>
FileLogger.RolloverHandler<T>| Constructor and Description |
|---|
AX25Logger(java.lang.String prefix)
Create an AX.25 frame logger instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dumpRecordQueueToFile(java.io.File logFileFile,
java.util.ArrayList<AX25Frame> recordQueue)
Opens the specified sequential
file for append, then write each of the AX.25 records in the recordQueue in order
to the file, then close the file.
|
PacketExportMode |
getLogFileFormat()
Get the current logging file format for the packets.
|
void |
setLogFileFormat(PacketExportMode pem)
Change the logging file format for the packets.
|
flush, getDefaultLogDir, log, log, log, run, setDatePattern, setDefaultLogDir, setFilePrefix, setFileSuffix, setFlushInterval, setLogDirectory, setRolloverHandler, setRolloverInterval, setTimeZone, shutdownpublic AX25Logger(java.lang.String prefix)
prefix - the String prefix to use for the log file name, prior to the date valuepublic PacketExportMode getLogFileFormat()
public void setLogFileFormat(PacketExportMode pem)
pem - PacketExportMode to be usedpublic void dumpRecordQueueToFile(java.io.File logFileFile,
java.util.ArrayList<AX25Frame> recordQueue)
throws java.io.IOException
dumpRecordQueueToFile in class FileLogger<AX25Frame>logFileFile - File identifying the log file to open and writerecordQueue - the ArrayList of ordered records to writejava.io.IOException - if record saving fails for any reason