Serializable, Blobpublic class ClientBlob extends Object implements Blob, Serializable
| Constructor | Description |
|---|---|
ClientBlob(byte[] data) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
free() |
|
InputStream |
getBinaryStream() |
|
InputStream |
getBinaryStream(long pos,
long length) |
|
byte[] |
getBytes(long start,
int length) |
|
long |
length() |
|
long |
position(byte[] pattern,
long start) |
|
long |
position(Blob pattern,
long start) |
|
OutputStream |
setBinaryStream(long pos) |
|
int |
setBytes(long pos,
byte[] bytes) |
|
int |
setBytes(long pos,
byte[] bytes,
int offest,
int len) |
|
void |
truncate(long len) |
public InputStream getBinaryStream()
getBinaryStream in interface Blobpublic InputStream getBinaryStream(long pos, long length)
getBinaryStream in interface Blobpublic int setBytes(long pos,
byte[] bytes,
int offest,
int len)
public OutputStream setBinaryStream(long pos)
setBinaryStream in interface BlobCopyright © 2024. All rights reserved.