net.sourceforge.jtds.util
Class BlobBuffer.AsciiOutputStream
OutputStream
net.sourceforge.jtds.util.BlobBuffer.AsciiOutputStream
- BlobBuffer
private class BlobBuffer.AsciiOutputStream
extends OutputStream
Implements an ASCII OutputStream
for CLOB data.
AsciiOutputStream(long pos) - Costructs an ASCII
OutputStream object over the BLOB
buffer.
|
void | close() - Closes the output stream.
|
protected void | finalize() - Ensures underlying BLOB file can be closed even if user does not
close this stream.
|
void | write(int b) - Writes a byte to the BLOB buffer.
|
writePtr
private int writePtr
AsciiOutputStream
(package private) AsciiOutputStream(long pos)
throws IOException
Costructs an ASCII OutputStream
object over the BLOB
buffer.
pos
- the starting position (from 0)
close
public void close()
throws IOException
Closes the output stream.
finalize
protected void finalize()
throws Throwable
Ensures underlying BLOB file can be closed even if user does not
close this stream.
write
public void write(int b)
throws IOException
Writes a byte to the BLOB buffer.
b
- the byte value to write
Generated on September 18 2009