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 Summary
protected intsize
Cached size of blob, setup right after blob has been opened.
Method Summary
voidclose()
Close blob.
protected voidfinalize()
Destructor for object.
InputStreamgetInputStream()
Return InputStream for this blob
OutputStreamgetOutputStream()
Return OutputStream for this blob

Field Detail

size

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

Method Detail

close

public void close()
Close blob.

finalize

protected void finalize()
Destructor for object.

getInputStream

public InputStream getInputStream()
Return InputStream for this blob

Returns: InputStream

getOutputStream

public OutputStream getOutputStream()
Return OutputStream for this blob

Returns: OutputStream

Contact: Christian Werner