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 void
close()
int
read()
int
read(char[] chars, int off, int len)
void
readNextRegion()
-
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:
read
in classReader
- Throws:
IOException
-
read
public int read(char[] chars, 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
-
readNextRegion
public void readNextRegion() throws IOException
- Throws:
IOException
-
-