|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--org.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(java.io.InputStream is,
long len)
|
|
| Method Summary | |
java.io.InputStream |
getBinaryStream()
|
byte[] |
getBytes(long pos,
int length)
Not implemented. |
long |
length()
|
long |
position(java.sql.Blob pattern,
long start)
Not implemented. |
long |
position(byte[] pattern,
long start)
Not implemented. |
java.io.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(java.io.InputStream is,
long len)
| Method Detail |
public java.io.InputStream getBinaryStream()
getBinaryStream in interface java.sql.Blobpublic long length()
length in interface java.sql.Blob
public byte[] getBytes(long pos,
int length)
getBytes in interface java.sql.Blob
public long position(java.sql.Blob pattern,
long start)
position in interface java.sql.Blob
public long position(byte[] pattern,
long start)
position in interface java.sql.Blobpublic java.io.OutputStream setBinaryStream(long pos)
public int setBytes(long pos,
byte[] bytes)
public int setBytes(long pos,
byte[] bytes,
int offset,
int len)
public void truncate(long len)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||