org.jasig.portal.utils
Class NullOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by org.jasig.portal.utils.NullOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

public class NullOutputStream
extends java.io.OutputStream

Very simple OutputStream implementation that does nothing with the data written to it (the famous /dev/null)

Version:
$Revision: 1.1 $
Author:
Eric Dalquist edalquist@unicon.net

Constructor Summary
NullOutputStream()
           
 
Method Summary
 void write(int b)
           
 
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 b)
           throws java.io.IOException
Specified by:
write in class java.io.OutputStream
Throws:
java.io.IOException
See Also:
OutputStream.write(int)