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 void
close()
int
read(char[] cbuf, int off, int len)
-
-
-
Method Detail
-
read
public int read(char[] cbuf, int off, int len) throws IOException
- Specified by:
read
in classReader
- Throws:
IOException
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classReader
- Throws:
IOException
-
-