|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface FirebirdBlob.BlobOutputStream
Blob output stream. This interface defines methods to write contents
of the Blob field. Some method signatures are copied from the
OutputStream
only because it is abstract class and not interface
that we can extend.
Method Summary | |
---|---|
void |
close()
Close this stream. |
long |
length()
Get Blob length. |
void |
write(byte[] buffer,
int offset,
int length)
Write data from the buffer into this stream. |
void |
write(int data)
Write single byte into the stream. |
Method Detail |
---|
void close() throws java.io.IOException
java.io.IOException
- if I/O error occurs.long length() throws java.io.IOException
java.io.IOException
- if I/O error occurs.void write(byte[] buffer, int offset, int length) throws java.io.IOException
buffer
- buffer from which data should be written.offset
- offset in the buffer.length
- number of bytes to write.
java.io.IOException
- if I/O error occurs.void write(int data) throws java.io.IOException
data
- data to write, only lowest 8 bits are written.
java.io.IOException
- if I/O error occurs.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |