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 Summary
Fields Modifier and Type Field Description protected intsizeCached size of blob, setup right after blob has been opened.
-
Constructor Summary
Constructors Constructor Description Blob()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Close blob.protected voidfinalize()Destructor for object.InputStreamgetInputStream()Return InputStream for this blobOutputStreamgetOutputStream()Return OutputStream for this 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.
-
-