Package adams.core.io
Class LogEntryWriter
- java.lang.Object
-
- adams.core.io.LogEntryWriter
-
public class LogEntryWriter extends Object
Helper class for writing log entries to a file (in CSV format).- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Constructor Summary
Constructors Constructor Description LogEntryWriter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
rewrite(String filename)
Starts a new log file (writes the header).static boolean
write(String filename, LogEntry log)
Appends the given log entry.
-
-
-
Method Detail
-
rewrite
public static boolean rewrite(String filename)
Starts a new log file (writes the header).- Parameters:
filename
- the log file to start- Returns:
- true if successfully started
-
-