public class Blob extends Object
| Modifier and Type | Field and Description |
|---|---|
private long |
handle
Internal handle for the SQLite3 blob.
|
protected int |
size
Cached size of blob, setup right after blob
has been opened.
|
| Constructor and Description |
|---|
Blob() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close blob.
|
protected void |
finalize()
Destructor for object.
|
InputStream |
getInputStream()
Return InputStream for this blob
|
OutputStream |
getOutputStream()
Return OutputStream for this blob
|
private static void |
internal_init()
Internal native initializer.
|
(package private) int |
read(byte[] b,
int off,
int pos,
int len)
Internal blob read method.
|
(package private) int |
write(byte[] b,
int off,
int pos,
int len)
Internal blob write method.
|
private long handle
protected int size
public void close()
public InputStream getInputStream()
public OutputStream getOutputStream()
private static void internal_init()
int read(byte[] b,
int off,
int pos,
int len)
throws IOException
b - byte array to be writtenoff - offset into byte arraypos - offset into bloblen - length to be writtenIOExceptionint write(byte[] b,
int off,
int pos,
int len)
throws IOException
b - byte array to be writtenoff - offset into byte arraypos - offset into bloblen - length to be writtenIOExceptionContact: Christian Werner