Class TextWriterWriterInterface<O>

    • Constructor Detail

      • TextWriterWriterInterface

        public TextWriterWriterInterface()
    • Method Detail

      • write

        public abstract void write​(TextWriterStream out,
                                   java.lang.String label,
                                   O object)
                            throws java.io.IOException
        Write a given object to the output stream.
        Parameters:
        out - Output stream
        label - Label to prefix
        object - object to output
        Throws:
        java.io.IOException - on IO errors
      • writeObject

        public final void writeObject​(TextWriterStream out,
                                      java.lang.String label,
                                      java.lang.Object object)
                               throws java.io.IOException
        Non-type-checking version.
        Parameters:
        out - Output stream
        label - Label to prefix
        object - object to output
        Throws:
        java.io.IOException - on IO errors