Public Member Functions | |
| THMSSLogFile (File f, boolean append) throws IOException | |
| Constructs a log file writer. | |
| String | getLastLine () |
| Gets the last line written. | |
| void | write (String s) throws IOException |
| Writes a line into the logfile. | |
| void | write (String ts, String s) throws IOException |
| Writes a line into the logfile. | |
| void | close () throws IOException |
| Closes the logfile. | |
| gridripper::util::THMSSLogFile::THMSSLogFile | ( | File | f, | |
| boolean | append | |||
| ) | throws IOException [inline] |
Constructs a log file writer.
| f | the filename | |
| append | append mode |
| String gridripper::util::THMSSLogFile::getLastLine | ( | ) | [inline] |
Gets the last line written.
| void gridripper::util::THMSSLogFile::write | ( | String | s | ) | throws IOException [inline] |
Writes a line into the logfile.
| s | the line |
| void gridripper::util::THMSSLogFile::write | ( | String | ts, | |
| String | s | |||
| ) | throws IOException [inline] |
Writes a line into the logfile.
| ts | string representation of the time | |
| s | additional information to append |
1.5.6