|
JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.Writer
net.jxta.util.DevNullWriter
public class DevNullWriter
An Writer which simply discards all data written to it. Useful when used with CountingWriter. This implementation just ignores everything you do it.
Field Summary |
---|
Fields inherited from class java.io.Writer |
---|
lock |
Constructor Summary | |
---|---|
DevNullWriter()
Creates a new instance of DevNullOutputStream |
Method Summary | |
---|---|
void |
close()
Does nothing.... |
void |
flush()
Does nothing.... |
void |
write(char[] b)
Does nothing.... |
void |
write(char[] b,
int offset,
int len)
Does nothing.... |
void |
write(String str,
int offset,
int len)
Does nothing.... |
Methods inherited from class java.io.Writer |
---|
append, append, append, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DevNullWriter()
Method Detail |
---|
public void close()
close
in interface Closeable
close
in class Writer
public void flush()
flush
in interface Flushable
flush
in class Writer
public void write(char[] b)
write
in class Writer
public void write(char[] b, int offset, int len)
write
in class Writer
public void write(String str, int offset, int len)
write
in class Writer
|
JXSE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |