|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.OutputStream
org.firebirdsql.jdbc.FBBlob.FBBlobOutputStream
public class FBBlob.FBBlobOutputStream
| Method Summary | |
|---|---|
void |
close()
Close this stream. |
long |
length()
Get Blob length. |
void |
seek(int position,
int seekMode)
|
void |
write(byte[] b,
int off,
int len)
Write data from the buffer into this stream. |
void |
write(int b)
Write single byte into the stream. |
void |
writeSegment(byte[] buf)
|
| Methods inherited from class java.io.OutputStream |
|---|
flush, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void seek(int position,
int seekMode)
throws SQLException
SQLException
public long length()
throws IOException
FirebirdBlob.BlobOutputStream
length in interface FirebirdBlob.BlobOutputStreamIOException - if I/O error occurs.
public void write(int b)
throws IOException
FirebirdBlob.BlobOutputStream
write in interface FirebirdBlob.BlobOutputStreamwrite in class OutputStreamb - data to write, only lowest 8 bits are written.
IOException - if I/O error occurs.
public void writeSegment(byte[] buf)
throws GDSException
GDSException
public void write(byte[] b,
int off,
int len)
throws IOException
FirebirdBlob.BlobOutputStream
write in interface FirebirdBlob.BlobOutputStreamwrite in class OutputStreamb - buffer from which data should be written.off - offset in the buffer.len - number of bytes to write.
IOException - if I/O error occurs.
public void close()
throws IOException
FirebirdBlob.BlobOutputStream
close in interface Closeableclose in interface FirebirdBlob.BlobOutputStreamclose in class OutputStreamIOException - if I/O error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||