wt.pds
Class LobOutputStream
java.lang.Object
java.io.OutputStream
wt.pds.LobOutputStream
- public final class LobOutputStream
- extends OutputStream
This class provides an OutputStream implementation for writing data to a
Blob reference.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lobHandler
private ChunkLobHandler lobHandler
connection
private WTConnection connection
blob
private Object blob
offset
private long offset
buf
private byte[] buf
count
private int count
LobOutputStream
public LobOutputStream(ChunkLobHandler a_lobHandler,
WTConnection a_connection,
Object a_blob,
int a_bufSize)
write
public void write(int b)
throws IOException
- Throws:
IOException
write
public void write(byte[] b,
int off,
int len)
throws IOException
- Throws:
IOException
flush
public void flush()
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Throws:
IOException
writeBytes
private void writeBytes(byte[] buf,
int off,
int len)
throws IOException
- Throws:
IOException
flushBuffer
void flushBuffer()
throws IOException
- Throws:
IOException
getLength
long getLength()