|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
edu.rice.cs.cunit.util.NullStream
public class NullStream
Stream that discards all output.
Field Summary | |
---|---|
static NullStream |
ONLY
Singleton instance. |
Constructor Summary | |
---|---|
private |
NullStream()
Singleton ctor. |
Method Summary | |
---|---|
void |
write(int b)
Overridden method to discard output. |
Methods inherited from class java.io.OutputStream |
---|
close, flush, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static NullStream ONLY
Constructor Detail |
---|
private NullStream()
Method Detail |
---|
public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
b
- output byte
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |