Class OutputFile

java.lang.Object
  extended byOutputFile

public class OutputFile
extends Object

The OutputFile class creates log files

Author:
Raymond McBride

Constructor Summary
OutputFile(String fileName)
          Constructor for the OutputFile
 
Method Summary
 void closeFile()
          Closes the file
 void writeToFile(String data)
          Writes data to the file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputFile

public OutputFile(String fileName)
Constructor for the OutputFile

Throws:
IOException - e
Method Detail

writeToFile

public void writeToFile(String data)
Writes data to the file

Parameters:
data - The data to be written

closeFile

public void closeFile()
Closes the file



Copyright © 2004 Raymond McBride. All Rights Reserved.