org.apache.derby.iapi.services.io
Class NullOutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended byorg.apache.derby.iapi.services.io.NullOutputStream

public final class NullOutputStream
extends java.io.OutputStream

An OutputStream that simply discards all data written to it.


Constructor Summary
NullOutputStream()
           
 
Method Summary
 void write(byte[] b)
          Discard the data.
 void write(byte[] b, int off, int len)
          Discard the data.
 void write(int b)
          Discard the data.
 
Methods inherited from class java.io.OutputStream
close, flush
 
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)
Discard the data.

See Also:
OutputStream.write(int)

write

public void write(byte[] b)
Discard the data.

See Also:
OutputStream.write(int)

write

public void write(byte[] b,
                  int off,
                  int len)
Discard the data.

See Also:
OutputStream.write(int)

Built on Mon 2007-06-04 09:58:47+0400, from revision ???

Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.