org.apache.cocoon.ant
Class NullOutputStream
java.lang.Object
java.io.OutputStream
org.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
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.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullOutputStream
public NullOutputStream()
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 Parameteroff
- Description of Parameterlen
- Description of Parameter
- Throws:
IOException
- Description of Exception
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.