org.hsqldb.types
Class ClobInputStream
- java.lang.Object
-
- java.io.Reader
-
- org.hsqldb.types.ClobInputStream
-
- All Implemented Interfaces:
- java.io.Closeable, java.lang.AutoCloseable, java.lang.Readable
public final class ClobInputStream extends java.io.ReaderThis class is used as an InputStream to retrieve data from a Blob. mark() and reset() are not supported.- Since:
- 1.9.0
-
-
Field Summary
Fields Modifier and Type Field and Description SessionInterfacesession
-
Constructor Summary
Constructors Constructor and Description ClobInputStream(SessionInterface session, ClobData clob, long offset, long length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intavailable()voidclose()intread()intread(char[] cbuf, int off, int len)longskip(long n)
-
-
-
Field Detail
-
session
public final SessionInterface session
-
-
Constructor Detail
-
ClobInputStream
public ClobInputStream(SessionInterface session, ClobData clob, long offset, long length)
-
-
Method Detail
-
read
public int read() throws java.io.IOException- Overrides:
readin classjava.io.Reader- Throws:
java.io.IOException
-
read
public int read(char[] cbuf, int off, int len) throws java.io.IOException- Specified by:
readin classjava.io.Reader- Throws:
java.io.IOException
-
skip
public long skip(long n) throws java.io.IOException- Overrides:
skipin classjava.io.Reader- Throws:
java.io.IOException
-
available
public int available()
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.io.Closeable- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein classjava.io.Reader- Throws:
java.io.IOException
-
-
DataMelt 3.0 © DataMelt by jWork.ORG