Package com.impossibl.postgres.jdbc
Class ClobReader
- java.lang.Object
-
- java.io.Reader
-
- com.impossibl.postgres.jdbc.ClobReader
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,java.lang.Readable
public class ClobReader extends java.io.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()
-
-
-
Constructor Detail
-
ClobReader
public ClobReader(PGClob owner, com.impossibl.postgres.jdbc.LargeObject lo)
-
-
Method Detail
-
read
public int read() throws java.io.IOException- Overrides:
readin classjava.io.Reader- Throws:
java.io.IOException
-
read
public int read(char[] chars, int off, int len) throws java.io.IOException- Specified by:
readin classjava.io.Reader- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Specified by:
closein classjava.io.Reader- Throws:
java.io.IOException
-
readNextRegion
public void readNextRegion() throws java.io.IOException- Throws:
java.io.IOException
-
-