class BlobW extends OutputStream
Modifier and Type | Field and Description |
---|---|
private Blob |
blob
Blob instance
|
private int |
pos
Read position, file pointer.
|
Constructor and Description |
---|
BlobW(Blob blob)
Contruct OutputStream from blob instance.
|
private Blob blob
private int pos
BlobW(Blob blob)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class OutputStream
IOException
public void write(byte[] b) throws IOException
write
in class OutputStream
b
- byte array to be written at current position.IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class OutputStream
b
- byte array to be written.off
- offset within byte arraylen
- length of data to be writtenIOException
public void write(int v) throws IOException
write
in class OutputStream
v
- byte to be written at current position.IOException
Contact: Christian Werner