|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.OutputStream
org.sqlite.io.BlobOutputStream
public class BlobOutputStream
| Constructor Summary | |
|---|---|
BlobOutputStream(Closeable owner,
Blob blob,
long pos)
create BLOB output stream. |
|
| Method Summary | |
|---|---|
void |
close()
Closes this stream. |
void |
write(byte[] b)
Writes b.length bytes from the specified byte array to this output stream. |
void |
write(byte[] b,
int off,
int len)
Writes len bytes from the specified byte array starting at offset off to this output stream. |
void |
write(int b)
Writes the specified byte to this output stream. |
| Methods inherited from class java.io.OutputStream |
|---|
flush |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BlobOutputStream(Closeable owner,
Blob blob,
long pos)
throws java.sql.SQLException
owner - the owner objectblob - sqlite3_blob wrapper objectpos - the position in the BLOB object at which to start writing; the first position is 1
java.sql.SQLException - if pos is less than 1| Method Detail |
|---|
public void close()
close in interface java.io.Closeableclose in class java.io.OutputStream
public void write(byte[] b)
throws java.io.IOException
write in class java.io.OutputStreamb - the data.
java.io.IOExceptionwrite(byte[], int, int)
public void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.OutputStreamb - the data.off - the start offset in the data.len - the number of bytes to write.
java.io.IOException
public void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamb - the byte.
java.io.IOExceptionwrite(byte[], int, int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||