|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.io.OutputStream
org.backsource.utils.io.DevNullOutputStream
DevNullOutpuStream send data to nowhere.
Example
Supress messages written to System.out
System.setOut(new PrintStream(DevNullOutputStream()));
| Constructor Summary | |
DevNullOutputStream()
|
|
| Method Summary | |
void |
close()
|
void |
flush()
|
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 |
| Constructor Detail |
public DevNullOutputStream()
| Method Detail |
public void close()
public void flush()
public void write(byte[] b)
public void write(byte[] b,
int off,
int len)
public void write(int b)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||