wt.pds
Class LobInputStream
java.lang.Object
java.io.InputStream
wt.pds.LobInputStream
- public final class LobInputStream
- extends InputStream
This class provides an InputStream implementation for reading data from a
Blob reference.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESOURCE
private static final String RESOURCE
- See Also:
- Constant Field Values
lobHandler
private DBMSLobHandler lobHandler
blob
private Object blob
available
private long available
offset
private long offset
buf
private byte[] buf
count
private int count
pos
private int pos
LobInputStream
public LobInputStream(DBMSLobHandler a_lobHandler,
Object a_blob,
long a_length,
int a_bufSize)
read
public int read()
throws IOException
- Throws:
IOException
read
public int read(byte[] b,
int off,
int len)
throws IOException
- Throws:
IOException
skip
public long skip(long n)
throws IOException
- Throws:
IOException
available
public int available()
throws IOException
- Throws:
IOException
close
public void close()
mark
public void mark(int readlimit)
reset
public void reset()
throws IOException
- Throws:
IOException
markSupported
public boolean markSupported()
getBytes
private int getBytes(byte[] buf,
int off,
int len)
throws IOException
- Throws:
IOException
fill
private void fill()
throws IOException
- Throws:
IOException