| java.lang.Object java.io.OutputStream org.postgresql.largeobject.BlobOutputStream
BlobOutputStream | public class BlobOutputStream extends OutputStream (Code) | | This implements a basic output stream that writes to a LargeObject
|
Method Summary | |
public void | close() Closes this output stream and releases any system resources
associated with this stream. | public void | flush() Flushes this output stream and forces any buffered output bytes
to be written out. | public void | write(int b) | public void | write(byte[] buf, int off, int len) |
BlobOutputStream | public BlobOutputStream(LargeObject lo)(Code) | | Create an OutputStream to a large object
Parameters: lo - LargeObject |
BlobOutputStream | public BlobOutputStream(LargeObject lo, int bsize)(Code) | | Create an OutputStream to a large object
Parameters: lo - LargeObject Parameters: bsize - The size of the buffer used to improve performance |
close | public void close() throws IOException(Code) | | Closes this output stream and releases any system resources
associated with this stream. The general contract of close
is that it closes the output stream. A closed stream cannot perform
output operations and cannot be reopened.
The close method of OutputStream does nothing.
exception: IOException - if an I/O error occurs. |
flush | public void flush() throws IOException(Code) | | Flushes this output stream and forces any buffered output bytes
to be written out. The general contract of flush is
that calling it is an indication that, if any bytes previously
written have been buffered by the implementation of the output
stream, such bytes should immediately be written to their
intended destination.
exception: IOException - if an I/O error occurs. |
|
|