Documentation of 'org.freehep.util.io.WriterOutputStream' Java class
WriterOutputStream
org.freehep.util.io

Class WriterOutputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable


    public class WriterOutputStream
    extends java.io.OutputStream
    The WriterOutputStream makes a Writer look like an OutputStream.
    • Constructor Summary

      Constructors 
      Constructor and Description
      WriterOutputStream(java.io.Writer writer)
      Create an Output Stream from given Writer.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void close() 
      void flush() 
      void write(byte[] b) 
      void write(byte[] b, int off, int len) 
      void write(int b) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WriterOutputStream

        public WriterOutputStream(java.io.Writer writer)
        Create an Output Stream from given Writer.
        Parameters:
        writer - writer to write to
    • Method Detail

      • write

        public void write(int b)
                   throws java.io.IOException
        Specified by:
        write in class java.io.OutputStream
        Throws:
        java.io.IOException
      • write

        public void write(byte[] b)
                   throws java.io.IOException
        Overrides:
        write in class java.io.OutputStream
        Throws:
        java.io.IOException
      • write

        public void write(byte[] b,
                          int off,
                          int len)
                   throws java.io.IOException
        Overrides:
        write in class java.io.OutputStream
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.io.Closeable
        Specified by:
        close in interface java.lang.AutoCloseable
        Overrides:
        close in class java.io.OutputStream
        Throws:
        java.io.IOException
      • flush

        public void flush()
                   throws java.io.IOException
        Specified by:
        flush in interface java.io.Flushable
        Overrides:
        flush in class java.io.OutputStream
        Throws:
        java.io.IOException

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.