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 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