Serializable
, Blob
public 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 Blob
public InputStream getBinaryStream(long pos, long length)
getBinaryStream
in interface Blob
public int setBytes(long pos, byte[] bytes, int offest, int len)
public OutputStream setBinaryStream(long pos)
setBinaryStream
in interface Blob
Copyright © 2024. All rights reserved.