org.firebirdsql.jdbc
Class FBBlob.FBBlobOutputStream
OutputStreamorg.firebirdsql.jdbc.FBBlob.FBBlobOutputStream
- FBBlob
- FirebirdBlob.BlobOutputStream
public class FBBlob.FBBlobOutputStream
extends OutputStream
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)
|
close
public void close()
throws IOException Close this stream. Calling this method closes Blob stream and moves
Blob from temporary into permanent state making any further content
updates impossible.
- close in interface FirebirdBlob.BlobOutputStream
length
public long length()
throws IOException Get Blob length. This method is the only available way to obtain
length of a Blob that is in temporary state,
- length in interface FirebirdBlob.BlobOutputStream
seek
public void seek(int position,
int seekMode)
throws SQLException
writeSegment
public void writeSegment(byte[] buf)
throws GDSException
Copyright B) 2001 David Jencks and other authors. All rights reserved.