|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.cocoon.util.BlobHelper
A minimal implementation just enough to send a BLOB to a database. Advanced methods and all methods for modifying the BLOB are not implemented.
| Constructor Summary | |
BlobHelper(InputStream is,
long len)
|
|
| Method Summary | |
void |
free()
Not implemented (Java6 extension). |
InputStream |
getBinaryStream()
|
InputStream |
getBinaryStream(long pos,
long length)
Not implemented (Java6 extension). |
byte[] |
getBytes(long pos,
int length)
Not implemented. |
long |
length()
|
long |
position(Blob pattern,
long start)
Not implemented. |
long |
position(byte[] pattern,
long start)
Not implemented. |
OutputStream |
setBinaryStream(long pos)
Not implemented. |
int |
setBytes(long pos,
byte[] bytes)
Not implemented. |
int |
setBytes(long pos,
byte[] bytes,
int offset,
int len)
Not implemented. |
void |
truncate(long len)
Not implemented. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BlobHelper(InputStream is,
long len)
| Method Detail |
public InputStream getBinaryStream()
getBinaryStream in interface Blobpublic long length()
length in interface Blob
public byte[] getBytes(long pos,
int length)
getBytes in interface Blob
public long position(Blob pattern,
long start)
position in interface Blob
public long position(byte[] pattern,
long start)
position in interface Blobpublic OutputStream setBinaryStream(long pos)
setBinaryStream in interface Blob
public int setBytes(long pos,
byte[] bytes)
setBytes in interface Blob
public int setBytes(long pos,
byte[] bytes,
int offset,
int len)
setBytes in interface Blobpublic void truncate(long len)
truncate in interface Blobpublic void free()
public InputStream getBinaryStream(long pos,
long length)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||