Skip navigation links

Oracle Security Developer Tools Crypto Java API Reference
11g (11.1.1)

E10668-02


oracle.security.crypto.util
Class NullOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by oracle.security.crypto.util.NullOutputStream

All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

public class NullOutputStream
extends java.io.OutputStream

This class implements a null output stream (i.e., there is no output done.) It can be used in conjunction with DigestOutputStream to compute message digests.


Constructor Summary
NullOutputStream()
           

 

Method Summary
 void write(int b)
          Does nothing

 

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)
Does nothing
Specified by:
write in class java.io.OutputStream
Parameters:
b - Ignored

Skip navigation links

Oracle Security Developer Tools Crypto Java API Reference
11g (11.1.1)

E10668-02


Copyright © 2005, 2009, Oracle. All rights reserved.