FreeHEP API
Version current

org.freehep.util.io
Class DummyOutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended byorg.freehep.util.io.DummyOutputStream

public class DummyOutputStream
extends OutputStream

Equivalent to writing to /dev/nul

Author:
tonyj
Source Code:
DummyOutputStream.java

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
Throws:
IOException

write

public void write(byte[] b)
           throws IOException
Throws:
IOException

write

public void write(byte[] b,
                  int off,
                  int len)
           throws IOException
Throws:
IOException

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.