net.sf.zig_project.gpl.simulation
Class DummyOutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended bynet.sf.zig_project.gpl.simulation.DummyOutputStream

public class DummyOutputStream
extends OutputStream

The DummyOutputStream does nothing. It is a placeholder for functions that send data to an arbitrary OutputStream, that would otherwise throw an exception if that stream were null.

Version:
September 24, 2004
Author:
Frank Ziglar

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


write

public void write(byte[] buf,
                  int off,
                  int len)
Does nothing