Interface FileBased

    • Method Detail

      • read

        void read​(Reader in)
           throws ConfigurationException,
                  IOException
        Reads the content of this object from the given reader. Client code should not call this method directly, but use a FileHandler for reading data.
        Parameters:
        in - the reader
        Throws:
        IOException - if an I/O error occurs.
        ConfigurationException - if a non-I/O related problem occurs, e.g. the data read does not have the expected format
      • write

        void write​(Writer out)
            throws ConfigurationException,
                   IOException
        Writes the content of this object to the given writer. Client code should not call this method directly, but use a FileHandler for writing data.
        Parameters:
        out - the writer
        Throws:
        IOException - if an I/O error occurs.
        ConfigurationException - if a non-I/O related problem occurs, e.g. the data read does not have the expected format