net.ontopia.persistence.proxy
Class SQLReader
java.lang.Object
java.io.Reader
java.io.FilterReader
net.ontopia.persistence.proxy.SQLReader
- All Implemented Interfaces:
- Closeable, Readable
public class SQLReader
- extends FilterReader
INTERNAL: Reader that knows its length.
- Since:
- 4.0
Method Summary |
void |
close()
|
int |
read()
|
int |
read(char[] cbuf)
|
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 |
rs
protected ResultSet rs
stm
protected Statement stm
SQLReader
public SQLReader(Reader reader,
ResultSet rs,
Statement stm)
throws SQLException
- Throws:
SQLException
read
public int read()
throws IOException
- Overrides:
read
in class FilterReader
- Throws:
IOException
read
public int read(char[] cbuf)
throws IOException
- Overrides:
read
in class Reader
- Throws:
IOException
read
public int read(char[] cbuf,
int off,
int len)
throws IOException
- Overrides:
read
in class FilterReader
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class FilterReader
- Throws:
IOException
Copyright © 2000-2012 Ontopia.