Package repast.simphony.scenario.data
Class ContextFileWriter
java.lang.Object
repast.simphony.scenario.data.ContextFileWriter
Writes a context file from ContextData.
- Author:
- Nick Collier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
write
(File file, ContextData data) Writes the specified ContextData to the specified file.
-
Constructor Details
-
ContextFileWriter
public ContextFileWriter()
-
-
Method Details
-
write
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.
-