|
JBoss STDIO 1.0.0.CR1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.OutputStream
org.jboss.stdio.NullOutputStream
public final class NullOutputStream

A null output stream, which ignores all output.
| Constructor Summary | |
|---|---|
NullOutputStream()
|
|
| Method Summary | |
|---|---|
static NullOutputStream |
getInstance()
Get the singleton instance. |
void |
write(byte[] b)
Ignore the written bytes. |
void |
write(byte[] b,
int off,
int len)
Ignore the written bytes. |
void |
write(int b)
Ignore the written byte. |
| 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 |
|---|
public NullOutputStream()
| Method Detail |
|---|
public static NullOutputStream getInstance()
public void write(int b)
write in class java.io.OutputStreamb - ignoredpublic void write(byte[] b)
write in class java.io.OutputStreamb - ignored
public void write(byte[] b,
int off,
int len)
write in class java.io.OutputStreamb - ignoredoff - ignoredlen - ignored
|
JBoss STDIO 1.0.0.CR1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||