Package edu.uky.ai.io

Class DummyOutputStream

java.lang.Object
java.io.OutputStream
edu.uky.ai.io.DummyOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable

public class DummyOutputStream
extends java.io.OutputStream
An implementation of OutputStream that does nothing.
Author:
Stephen G. Ware
  • Constructor Summary

    Constructors 
    Constructor Description
    DummyOutputStream()  
  • Method Summary

    Modifier and Type Method Description
    void write​(int b)  

    Methods inherited from class java.io.OutputStream

    close, flush, nullOutputStream, write, write

    Methods inherited from class java.lang.Object

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

  • Method Details

    • write

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