org.overlord.sramp.wagon.util
Class DevNullOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by org.overlord.sramp.wagon.util.DevNullOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class DevNullOutputStream
extends OutputStream

An output stream that doesn't go anywhere.

Author:
eric.wittmann@redhat.com

Constructor Summary
DevNullOutputStream()
          Constructor.
 
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

DevNullOutputStream

public DevNullOutputStream()
Constructor.

Method Detail

write

public void write(int b)
           throws IOException
Specified by:
write in class OutputStream
Throws:
IOException
See Also:
OutputStream.write(int)


Copyright © 2011-2013 JBoss, a division of Red Hat. All Rights Reserved.