Interface IWritable

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void write​(java.lang.String indent, java.io.PrintWriter writer)
      Writes the ASCII representation of the writable into the provider writer.
    • Method Detail

      • write

        void write​(java.lang.String indent,
                   java.io.PrintWriter writer)
        Writes the ASCII representation of the writable into the provider writer. The writable should use the provided indent to write the stream starting from the specified column number. Indent string should be written to the writer after every new line.
        Parameters:
        indent - a string that should be added after each new line to maintain desired horizontal alignment
        writer - a writer to be used to write this object's textual representation