Class BlobOutputStream

java.lang.Object
java.io.OutputStream
org.postgresql.largeobject.BlobOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class BlobOutputStream extends OutputStream
This implements a basic output stream that writes to a LargeObject.
  • Constructor Details

    • BlobOutputStream

      public BlobOutputStream(LargeObject lo)
      Create an OutputStream to a large object.
      Parameters:
      lo - LargeObject
    • BlobOutputStream

      public BlobOutputStream(LargeObject lo, int bsize)
      Create an OutputStream to a large object.
      Parameters:
      lo - LargeObject
      bsize - The size of the buffer used to improve performance
  • Method Details