|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.OutputStream SQLite.BlobW
class BlobW
Internal class implementing java.io.OutputStream on SQLite 3.4.0 incremental blob I/O interface.
Field Summary | |
---|---|
private Blob |
blob
Blob instance |
private int |
pos
Read position, file pointer. |
Constructor Summary | |
---|---|
BlobW(Blob blob)
Contruct OutputStream from blob instance. |
Method Summary | |
---|---|
void |
close()
Close this blob OutputStream. |
void |
flush()
Flush blob; dummy to satisfy OutputStream class. |
void |
write(byte[] b)
Write blob data. |
void |
write(byte[] b,
int off,
int len)
Write blob data. |
void |
write(int v)
Write blob data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Blob blob
private int pos
Constructor Detail |
---|
BlobW(Blob blob)
Method Detail |
---|
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in class java.io.OutputStream
java.io.IOException
public void flush() throws java.io.IOException
flush
in interface java.io.Flushable
flush
in class java.io.OutputStream
java.io.IOException
public void write(byte[] b) throws java.io.IOException
write
in class java.io.OutputStream
b
- byte array to be written at current position.
java.io.IOException
public void write(byte[] b, int off, int len) throws java.io.IOException
write
in class java.io.OutputStream
b
- byte array to be written.off
- offset within byte arraylen
- length of data to be written
java.io.IOException
public void write(int v) throws java.io.IOException
write
in class java.io.OutputStream
v
- byte to be written at current position.
java.io.IOException
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |