Package net.ontopia.persistence.proxy
Class SQLReader
- java.lang.Object
-
- java.io.Reader
-
- java.io.FilterReader
-
- net.ontopia.persistence.proxy.SQLReader
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Readable
public class SQLReader extends FilterReader
INTERNAL: Reader that knows its length.- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
int
read()
int
read(char[] cbuf)
int
read(char[] cbuf, int off, int len)
-
Methods inherited from class java.io.FilterReader
mark, markSupported, ready, reset, skip
-
Methods inherited from class java.io.Reader
nullReader, read, transferTo
-
-
-
-
Constructor Detail
-
SQLReader
public SQLReader(Reader reader, ResultSet rs, Statement stm) throws SQLException
- Throws:
SQLException
-
-
Method Detail
-
read
public int read() throws IOException
- Overrides:
read
in classFilterReader
- Throws:
IOException
-
read
public int read(char[] cbuf) throws IOException
- Overrides:
read
in classReader
- Throws:
IOException
-
read
public int read(char[] cbuf, int off, int len) throws IOException
- Overrides:
read
in classFilterReader
- Throws:
IOException
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFilterReader
- Throws:
IOException
-
-