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

Class DummyOutputStream

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


    public class DummyOutputStream
    extends java.io.OutputStream
    Equivalent to writing to /dev/nul
    • Constructor Summary

      Constructors 
      Constructor and Description
      DummyOutputStream()
      Creates a Dummy output steram.
    • Method Summary

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

        close, flush
      • Methods inherited from class java.lang.Object

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

      • DummyOutputStream

        public DummyOutputStream()
        Creates a Dummy output steram.
    • 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

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.