FreeHEP API
Version v1.2.2

org.freehep.util.io
Class DummyOutputStream

java.lang.Object
  |
  +--java.io.OutputStream
        |
        +--org.freehep.util.io.DummyOutputStream

public class DummyOutputStream
extends OutputStream

Equivalent to writing to /dev/nul

Author:
tonyj

Constructor Summary
DummyOutputStream()
           
 
Method Summary
 void write(byte[] b)
           
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 
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

DummyOutputStream

public DummyOutputStream()
Method Detail

write

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

write

public void write(byte[] b)
           throws IOException
Overrides:
write in class OutputStream
IOException

write

public void write(byte[] b,
                  int off,
                  int len)
           throws IOException
Overrides:
write in class OutputStream
IOException

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.