neosim.util
Class FileSaver

java.lang.Object
  |
  +--neosim.util.FileSaver

public class FileSaver
extends java.lang.Object
implements Filecmds, FileListener

FileSaver Stores file events in a file.


Fields inherited from interface neosim.util.Filecmds
EOF, LINE, START
 
Constructor Summary
FileSaver(java.lang.String fname)
          Creates a file saver with the given filename
 
Method Summary
 void handleFile(FileEventObject e)
          Responds to a file input event by writing it on to the file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSaver

public FileSaver(java.lang.String fname)
Creates a file saver with the given filename
Method Detail

handleFile

public void handleFile(FileEventObject e)
Responds to a file input event by writing it on to the file.
Specified by:
handleFile in interface FileListener