Interface IntegrationSource

All Superinterfaces:
Reader, Writer
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

    Modifier and Type
    Method
    Description
    Retrieves the reader that will be used to perform reads.
    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.Reader

    read

    Methods inherited from interface repast.simphony.integration.Writer

    setWrittenObject, write
  • Method Details

    • 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