|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.OutputStream org.jboss.util.stream.NullOutputStream
A null OutputStream
. All values passed to
write(int)
are discarded. Calls to flush()
and
close()
are ignored.
All methods are declared NOT to throw IOException
s.
Field Summary | |
static NullOutputStream |
STREAM
A default null output stream. |
Constructor Summary | |
NullOutputStream()
|
Method Summary | |
void |
close()
Non-operation. |
void |
flush()
Non-operation. |
void |
write(byte[] bytes)
Non-operation. |
void |
write(byte[] bytes,
int offset,
int length)
Non-operation. |
void |
write(int b)
Non-operation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final NullOutputStream STREAM
Constructor Detail |
public NullOutputStream()
Method Detail |
public void write(int b)
public void flush()
public void close()
public void write(byte[] bytes)
public void write(byte[] bytes, int offset, int length)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |