org.apache.commons.io.output
Class NullOutputStream
java.lang.Object
java.io.OutputStream
org.apache.commons.io.output.NullOutputStream
- public class NullOutputStream
- extends OutputStream
This OutputStream writes all data to the famous /dev/null.
- Version:
- $Id: NullOutputStream.java,v 1.4 2004/02/23 04:40:29 bayard Exp $
- Author:
- Jeremias Maerki
Method Summary |
void |
write(byte[] b)
|
void |
write(byte[] b,
int off,
int len)
|
void |
write(int b)
|
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(byte[] b,
int off,
int len)
- See Also:
OutputStream.write(byte[], int, int)
write
public void write(int b)
- See Also:
OutputStream.write(int)
write
public void write(byte[] b)
throws IOException
- Throws:
IOException
- See Also:
OutputStream.write(byte[])
Copyright © 2002-2004 The Apache Software Foundation. All Rights Reserved.