gridripper::util::THMSSLogFile Class Reference

Log file line formatter and reader. More...

List of all members.

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.


Detailed Description

Log file line formatter and reader.

Version:
0.5, 01/14/2009
Since:
0.3, 04/26/2005
Author:
Peter Csizmadia

Constructor & Destructor Documentation

gridripper::util::THMSSLogFile::THMSSLogFile ( File  f,
boolean  append 
) throws IOException [inline]

Constructs a log file writer.

Parameters:
f the filename
append append mode


Member Function Documentation

String gridripper::util::THMSSLogFile::getLastLine (  )  [inline]

Gets the last line written.

Returns:
the last line

void gridripper::util::THMSSLogFile::write ( String  s  )  throws IOException [inline]

Writes a line into the logfile.

Parameters:
s the line

void gridripper::util::THMSSLogFile::write ( String  ts,
String  s 
) throws IOException [inline]

Writes a line into the logfile.

Parameters:
ts string representation of the time
s additional information to append


The documentation for this class was generated from the following file:

Generated on Wed Jun 17 18:47:31 2009 for GridRipper by  doxygen 1.5.6