Package com.impossibl.postgres.jdbc
Class ClobReader
- java.lang.Object
-
- java.io.Reader
-
- com.impossibl.postgres.jdbc.ClobReader
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Readable
public class ClobReader extends Reader
-
-
Constructor Summary
Constructors Constructor Description ClobReader(PGClob owner, com.impossibl.postgres.jdbc.LargeObject lo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()intread()intread(char[] chars, int off, int len)voidreadNextRegion()-
Methods inherited from class java.io.Reader
mark, markSupported, nullReader, read, read, ready, reset, skip, transferTo
-
-
-
-
Constructor Detail
-
ClobReader
public ClobReader(PGClob owner, com.impossibl.postgres.jdbc.LargeObject lo)
-
-
Method Detail
-
read
public int read() throws IOException- Overrides:
readin classReader- Throws:
IOException
-
read
public int read(char[] chars, 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
-
readNextRegion
public void readNextRegion() throws IOException- Throws:
IOException
-
-