Package repast.simphony.scenario.data
Class ContextFileWriter
- java.lang.Object
-
- repast.simphony.scenario.data.ContextFileWriter
-
public class ContextFileWriter extends Object
Writes a context file from ContextData.- Author:
- Nick Collier
-
-
Constructor Summary
Constructors Constructor Description ContextFileWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
write(File file, ContextData data)
Writes the specified ContextData to the specified file.
-
-
-
Method Detail
-
write
public void write(File file, ContextData data) throws IOException
Writes the specified ContextData to the specified file. The ContextData and its decendent subcontexts will be written.- Parameters:
file
- the file to write todata
- the ContextData to write- Throws:
IOException
- if there is an error writing the data.
-
-