Package org.apache.derby.client.am
Class BlobOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.apache.derby.client.am.BlobOutputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
class BlobOutputStream extends java.io.OutputStream
-
-
Field Summary
Fields Modifier and Type Field Description private ClientBlob
blob_
private long
offset_
-
Constructor Summary
Constructors Constructor Description BlobOutputStream(ClientBlob blob, long offset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
write(byte[] b, int off, int len)
void
write(int b)
private void
writeX(byte[] b, int off, int len)
-
-
-
Field Detail
-
blob_
private ClientBlob blob_
-
offset_
private long offset_
-
-
Constructor Detail
-
BlobOutputStream
BlobOutputStream(ClientBlob blob, long offset)
-
-
Method Detail
-
write
public void write(int b) throws java.io.IOException
- Specified by:
write
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
write
public void write(byte[] b, int off, int len) throws java.io.IOException
- Overrides:
write
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
writeX
private void writeX(byte[] b, int off, int len)
-
-