protected static class DatabaseStorageManager.InputStreamBlob extends Object implements Blob
| Constructor and Description |
|---|
InputStreamBlob(InputStream is) |
InputStreamBlob(InputStream is,
long s) |
| Modifier and Type | Method and Description |
|---|---|
void |
free() |
InputStream |
getBinaryStream() |
InputStream |
getBinaryStream(long pos,
long length) |
protected void |
getBytes() |
byte[] |
getBytes(long pos,
int length) |
long |
length() |
long |
position(Blob pattern,
long start) |
long |
position(byte[] pattern,
long start) |
OutputStream |
setBinaryStream(long pos) |
int |
setBytes(long pos,
byte[] bytes) |
int |
setBytes(long pos,
byte[] bytes,
int offset,
int len) |
void |
truncate(long len) |
public InputStreamBlob(InputStream is, long s)
public InputStreamBlob(InputStream is)
public InputStream getBinaryStream()
getBinaryStream in interface Blobpublic InputStream getBinaryStream(long pos, long length)
getBinaryStream in interface Blobprotected void getBytes()
public OutputStream setBinaryStream(long pos)
setBinaryStream in interface Blobpublic int setBytes(long pos,
byte[] bytes,
int offset,
int len)
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}