Interface IWritable

    • Method Detail

      • write

        void write​(String indent,
                   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