RePast
v. 2.0

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.


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

Method Detail

setBlockHeader

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


writeToFile

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


RePast
v. 2.0

Bug reports and feature requests to RePast