Package SQLite

Class Blob

java.lang.Object
SQLite.Blob

public class Blob
extends Object
Class to represent SQLite3 3.4.0 incremental blob I/O interface. Note, that all native methods of this class are not synchronized, i.e. it is up to the caller to ensure that only one thread is in these methods at any one time.
  • Field Details

    • size

      protected int size
      Cached size of blob, setup right after blob has been opened.
  • Constructor Details

    • Blob

      public Blob()
  • Method Details

    • getInputStream

      public InputStream getInputStream()
      Return InputStream for this blob
      Returns:
      InputStream
    • getOutputStream

      public OutputStream getOutputStream()
      Return OutputStream for this blob
      Returns:
      OutputStream
    • close

      public void close()
      Close blob.
    • finalize

      protected void finalize()
      Destructor for object.
      Overrides:
      finalize in class Object