private class BlobBuffer.BlobOutputStream
extends java.io.OutputStream
OutputStream for BLOB data.| Modifier and Type | Field and Description | 
|---|---|
| private boolean | open | 
| private int | writePtr | 
| Constructor and Description | 
|---|
| BlobBuffer.BlobOutputStream(long pos)Costructs an OutputStream object over the BLOB buffer. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close()Close the output stream. | 
| protected void | finalize()Ensures underlying BLOB file can be closed even if user does not
 close this stream. | 
| void | write(byte[] bytes,
     int offset,
     int len)Write bytes to the BLOB buffer. | 
| void | write(int b)Write a byte to the BLOB buffer. | 
BlobBuffer.BlobOutputStream(long pos)
                      throws java.io.IOException
pos - the starting position (from 0)java.io.IOException - if an I/O error occursprotected void finalize()
                 throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwablepublic void write(int b)
           throws java.io.IOException
write in class java.io.OutputStreamb - the byte value to writejava.io.IOException - if an I/O error occurspublic void write(byte[] bytes,
         int offset,
         int len)
           throws java.io.IOException
write in class java.io.OutputStreambytes - the byte array value to writeoffset - the start position in the byte arraylen - the number of bytes to writejava.io.IOException - if an I/O error occurspublic void close()
           throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.OutputStreamjava.io.IOException - if an I/O error occursGenerated on June 8 2013