com.huguesjohnson
Class LogFile

java.lang.Object
  |
  +--com.huguesjohnson.LogFile

public class LogFile
extends java.lang.Object

class LogFile


Constructor Summary
LogFile(java.lang.String fileName)
          constructor
 
Method Summary
 void close()
          flushes buffer and closes logFile
 void log(java.lang.String line)
          appends a line to the log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogFile

public LogFile(java.lang.String fileName)
constructor

Parameters:
fileName - name & path of file to use
Method Detail

close

public void close()
flushes buffer and closes logFile


log

public void log(java.lang.String line)
appends a line to the log

Parameters:
line - the line to append