Package repast.simphony.integration
Interface IntegrationSource
-
- All Known Subinterfaces:
DataFile
- All Known Implementing Classes:
DefaultDataFile
public interface IntegrationSource extends Reader, Writer
Interface representing something that performs both Writing and Reading for outputting and reading in data.- Author:
- Jerry Vos
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Reader
getReader()
Retrieves the reader that will be used to perform reads.Writer
getWriter()
Retrieves the writer that will be used to perform writes.void
setReader(Reader reader)
Sets the reader to write with.void
setWriter(Writer writer)
Sets the writer to write with.-
Methods inherited from interface repast.simphony.integration.Writer
setWrittenObject, write
-
-
-
-
Method Detail
-
setWriter
void setWriter(Writer writer)
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
void setReader(Reader reader)
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
-
-