uchicago.src.sim.analysis
Interface BlockFileWriter

All Known Implementing Classes:
DataFileWriter, ExcelFileWriter

public interface BlockFileWriter

Interface for class that write data to files in blocks. Each time the block header is set, that header will be written once. This header should apply to anything written via subsequent calls to writeToFile(). This is useful for writing tick counts and then data, for example.

Version:
$Revision: 1.3 $ $Date: 2004/11/03 19:51:00 $
Author:
Nick Collier

Method Summary
 void setBlockHeader(java.lang.String blockHeader)
          Sets the block header for any data subsequently written via writeToFile (the block) until called again.
 void writeToFile(java.lang.Object o)
          Writes the specified object to the file.
 

Method Detail

setBlockHeader

void setBlockHeader(java.lang.String blockHeader)
Sets the block header for any data subsequently written via writeToFile (the block) until called again.


writeToFile

void writeToFile(java.lang.Object o)
Writes the specified object to the file.