クラス BlobOutputStream
java.lang.Object
java.io.OutputStream
org.postgresql.largeobject.BlobOutputStream
- すべての実装されたインタフェース:
Closeable
,Flushable
,AutoCloseable
This implements a basic output stream that writes to a LargeObject.
-
コンストラクタの概要
コンストラクタコンストラクタ説明Create an OutputStream to a large object.BlobOutputStream
(LargeObject lo, int bufferSize) Create an OutputStream to a large object. -
メソッドの概要
クラスから継承されたメソッド java.io.OutputStream
nullOutputStream, write
-
コンストラクタの詳細
-
BlobOutputStream
Create an OutputStream to a large object.- パラメータ:
lo
- LargeObject
-
BlobOutputStream
Create an OutputStream to a large object.- パラメータ:
lo
- LargeObjectbufferSize
- The size of the buffer for single-byte writes
-
-
メソッドの詳細
-
write
- 定義:
write
クラス内OutputStream
- 例外:
IOException
-
write
- オーバーライド:
write
クラス内OutputStream
- 例外:
IOException
-
flush
Flushes this output stream and forces any buffered output bytes to be written out. The general contract offlush
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.- 定義:
flush
インタフェース内Flushable
- オーバーライド:
flush
クラス内OutputStream
- 例外:
IOException
- if an I/O error occurs.
-
close
- 定義:
close
インタフェース内AutoCloseable
- 定義:
close
インタフェース内Closeable
- オーバーライド:
close
クラス内OutputStream
- 例外:
IOException
-