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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwrite(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.
-