org.zkoss.io
Class NullReader
java.lang.Object
java.io.Reader
org.zkoss.io.NullReader
- All Implemented Interfaces:
- Closeable, Readable
public class NullReader
- extends Reader
A reader that returns nothing, a.k.a, an empty reader.
- Author:
- tomyeh
- See Also:
NullWriter,
NullInputStream
|
Method Summary |
void |
close()
|
int |
read(char[] cbuf,
int off,
int len)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullReader
public NullReader()
read
public int read(char[] cbuf,
int off,
int len)
- Specified by:
read in class Reader
close
public void close()
- Specified by:
close in interface Closeable- Specified by:
close in class Reader
Copyright © 2013. All rights reserved.