org.mmbase.storage.implementation.database
Class DatabaseStorageManager.InputStreamBlob
java.lang.Object
org.mmbase.storage.implementation.database.DatabaseStorageManager.InputStreamBlob
- All Implemented Interfaces:
- Blob
- Enclosing class:
- DatabaseStorageManager
protected static class DatabaseStorageManager.InputStreamBlob
- extends Object
- implements Blob
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatabaseStorageManager.InputStreamBlob
public DatabaseStorageManager.InputStreamBlob(InputStream is,
long s)
DatabaseStorageManager.InputStreamBlob
public DatabaseStorageManager.InputStreamBlob(InputStream is)
getBinaryStream
public InputStream getBinaryStream()
- Specified by:
getBinaryStream in interface Blob
getBinaryStream
public InputStream getBinaryStream(long pos,
long length)
- Specified by:
getBinaryStream in interface Blob
getBytes
public byte[] getBytes(long pos,
int length)
- Specified by:
getBytes in interface Blob
getBytes
protected void getBytes()
length
public long length()
- Specified by:
length in interface Blob
position
public long position(Blob pattern,
long start)
- Specified by:
position in interface Blob
position
public long position(byte[] pattern,
long start)
- Specified by:
position in interface Blob
setBinaryStream
public OutputStream setBinaryStream(long pos)
- Specified by:
setBinaryStream in interface Blob
setBytes
public int setBytes(long pos,
byte[] bytes)
- Specified by:
setBytes in interface Blob
setBytes
public int setBytes(long pos,
byte[] bytes,
int offset,
int len)
- Specified by:
setBytes in interface Blob
truncate
public void truncate(long len)
- Specified by:
truncate in interface Blob
free
public void free()
- Specified by:
free in interface Blob
MMBase2 Core 2.0-SNAPSHOT - 2013-03-30T06:36