|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.Reader gnu.text.NullReader
public class NullReader
A reader for an empty stream (similar to /dev/null).
Field Summary | |
---|---|
static NullReader |
nullReader
|
Fields inherited from class java.io.Reader |
---|
lock |
Constructor Summary | |
---|---|
NullReader()
|
Method Summary | |
---|---|
void |
close()
|
int |
read(char[] buffer,
int offset,
int length)
|
boolean |
ready()
|
Methods inherited from class java.io.Reader |
---|
mark, markSupported, read, read, read, reset, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final NullReader nullReader
Constructor Detail |
---|
public NullReader()
Method Detail |
---|
public int read(char[] buffer, int offset, int length)
read
in class java.io.Reader
public boolean ready()
ready
in class java.io.Reader
public void close()
close
in interface java.io.Closeable
close
in class java.io.Reader
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |