|
Project JXTA | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
net.jxta.util.DevNullOutputStream
An OutputStream which simply discards all data written to it. Useful when used with CountingOutputStream. This implementation just ignores everything you do it.
Constructor Summary | |
DevNullOutputStream()
Creates a new instance of DevNullOutputStream |
Method Summary | |
void |
close()
Does nothing.... |
void |
flush()
Does nothing.... |
void |
write(byte[] b)
Does nothing.... |
void |
write(byte[] b,
int offset,
int len)
Does nothing.... |
void |
write(int b)
Does nothing.... |
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 offset, int len)
public void write(int b)
|
JXTA J2SE | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |