Package org.smooks.io
Class NullReader
- java.lang.Object
-
- java.io.Reader
-
- org.smooks.io.NullReader
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Readable
public class NullReader extends Reader
Null Reader.- Author:
- tom.fennelly@gmail.com
-
-
Constructor Summary
Constructors Constructor Description NullReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()intread(char[] cbuf, int off, int len)
-
-
-
Method Detail
-
read
public int read(char[] cbuf, int off, int len) throws IOException- Specified by:
readin classReader- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classReader- Throws:
IOException
-
-