Package SQLite

Class 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 Detail

      • size

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

      • Blob

        public Blob()
    • Method Detail

      • 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