de.cgarbs.io
Class NullOutputStream

java.lang.Object
  |
  +--java.io.OutputStream
        |
        +--de.cgarbs.io.NullOutputStream

public class NullOutputStream
extends java.io.OutputStream

An OutputStream that eats up all data (aka Null Device)

This class is licensed under the GNU LESSER GENERAL PUBLIC LICENSE.

Version:
0.0.1
Author:
Christian Garbs

Constructor Summary
NullOutputStream()
           
 
Method Summary
 void write(int i)
          Writes the specified byte into the digital Nirvana.
 
Methods inherited from class java.io.OutputStream
close, flush, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullOutputStream

public NullOutputStream()
Method Detail

write

public void write(int i)
Writes the specified byte into the digital Nirvana.
Overrides:
write in class java.io.OutputStream
Parameters:
i - the byte to be written