org.apache.cocoon.ant
Class NullOutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended byorg.apache.cocoon.ant.NullOutputStream

public class NullOutputStream
extends OutputStream

A OutputStream writting no bytes at all.

Version:
CVS $Id: NullOutputStream.java 30941 2004-07-29 19:56:58Z vgritsenko $
Author:
huber@apache.org

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

NullOutputStream

public NullOutputStream()
Method Detail

write

public void write(int b)
           throws IOException
Description of the Method

Parameters:
b - Description of Parameter
Throws:
IOException - Description of Exception

write

public void write(byte[] b)
           throws IOException
Description of the Method

Parameters:
b - Description of Parameter
Throws:
IOException - Description of Exception

write

public void write(byte[] b,
                  int off,
                  int len)
           throws IOException
Description of the Method

Parameters:
b - Description of Parameter
off - Description of Parameter
len - Description of Parameter
Throws:
IOException - Description of Exception


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.