private class BlobBuffer.AsciiOutputStream
extends java.io.OutputStream
OutputStream
for CLOB data.Modifier and Type | Field and Description |
---|---|
private boolean |
open |
private int |
writePtr |
Constructor and Description |
---|
BlobBuffer.AsciiOutputStream(long pos)
Costructs an ASCII
OutputStream object over the BLOB
buffer. |
BlobBuffer.AsciiOutputStream(long pos) throws java.io.IOException
OutputStream
object over the BLOB
buffer.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.Object
java.lang.Throwable
public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
b
- the byte value to writejava.io.IOException
- if an I/O error occurspublic void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.OutputStream
java.io.IOException
- if an I/O error occursGenerated on June 8 2013