org.logi.crypto.test
Class BitBucket

java.lang.Object
  |
  +--java.io.OutputStream
        |
        +--org.logi.crypto.test.BitBucket

public class BitBucket
extends java.io.OutputStream

Anything written to instances of this class is counted and discarded.


Constructor Summary
BitBucket()
           
 
Method Summary
 void close()
           
 void flush()
           
 int getCount()
           
 void write(byte[] buf)
           
 void write(byte[] buf, int off, int len)
           
 void write(int x)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BitBucket

public BitBucket()
Method Detail

close

public void close()
Overrides:
close in class java.io.OutputStream

flush

public void flush()
Overrides:
flush in class java.io.OutputStream

write

public void write(byte[] buf)
Overrides:
write in class java.io.OutputStream

write

public void write(byte[] buf,
                  int off,
                  int len)
Overrides:
write in class java.io.OutputStream

write

public void write(int x)
Overrides:
write in class java.io.OutputStream

getCount

public int getCount()


Copyright 1997-2000 Logi Ragnarsson