Package org.zkoss.io
Class NullReader
- java.lang.Object
-
- java.io.Reader
-
- org.zkoss.io.NullReader
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,java.lang.Readable
public class NullReader extends java.io.Reader
A reader that returns nothing, a.k.a, an empty reader.- Author:
- tomyeh
- See Also:
NullWriter
,NullInputStream
-
-
Constructor Summary
Constructors Constructor Description NullReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
int
read(char[] cbuf, int off, int len)
-