org.norther.tammi.acorn.io
Class VoidOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by org.norther.tammi.acorn.io.VoidOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class VoidOutputStream
extends OutputStream

An output stream for writing nothing.

Author:
Ilkka Priha

Constructor Summary
VoidOutputStream()
          Constructs a new stream.
 
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

VoidOutputStream

public VoidOutputStream()
Constructs a new stream.

Method Detail

write

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


Copyright © 2004 The Norther Organization. All rights reserved.