Package repast.simphony.integration
Interface IntegrationSource
- All Known Subinterfaces:
DataFile
- All Known Implementing Classes:
DefaultDataFile
Interface representing something that performs both Writing and Reading for outputting and
reading in data.
- Author:
- Jerry Vos
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the reader that will be used to perform reads.Retrieves the writer that will be used to perform writes.void
Sets the reader to write with.void
Sets the writer to write with.Methods inherited from interface repast.simphony.integration.Writer
setWrittenObject, write
-
Method Details
-
setWriter
Sets the writer to write with.- Parameters:
writer
- the writer to use
-
getWriter
Writer getWriter()Retrieves the writer that will be used to perform writes.- Returns:
- the writer that will be used to perform writes
-
setReader
Sets the reader to write with.- Parameters:
reader
- the reader to use
-
getReader
Reader getReader()Retrieves the reader that will be used to perform reads.- Returns:
- the reader that will be used to perform reads
-