ro.isdc.wro.util.io
Class NullOutputStream
java.lang.Object
java.io.OutputStream
ro.isdc.wro.util.io.NullOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
public final class NullOutputStream
- extends OutputStream
Implementation of OutputStream that simply discards written bytes.
- Since:
- 1.7.0
- Author:
- Alex Objelean
|
Method Summary |
void |
write(byte[] b,
int off,
int len)
Discards the specified byte array. |
void |
write(int b)
Discards the specified int. |
| 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)
- Discards the specified int.
- Specified by:
write in class OutputStream
write
public void write(byte[] b,
int off,
int len)
- Discards the specified byte array.
- Overrides:
write in class OutputStream
Copyright © 2008-2013. All Rights Reserved.