Class AppendableOutputStream<T extends Appendable>

    • Constructor Detail

      • AppendableOutputStream

        public AppendableOutputStream​(T appendable)
        Construct a new instance with the specified appendable.
        Parameters:
        appendable - the appendable to write to
    • Method Detail

      • write

        public void write​(int b)
                   throws IOException
        Write a character to the underlying appendable.
        Specified by:
        write in class OutputStream
        Parameters:
        b - the character to write
        Throws:
        IOException - upon error
      • getAppendable

        public T getAppendable()
        Return the target appendable.
        Returns:
        the target appendable