net.sf.beanlib.utils
Class BlobUtils
java.lang.Object
net.sf.beanlib.utils.BlobUtils
public class BlobUtils
- extends Object
Blob Utilities.
- Author:
- Joe D. Velopar
Field Summary |
private org.apache.log4j.Logger |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private org.apache.log4j.Logger log
BlobUtils
public BlobUtils()
toByteArray
public byte[] toByteArray(Blob fromBlob)
toByteArray
public byte[] toByteArray(Blob fromBlob,
int bufferSize)
toByteArrayImpl
private byte[] toByteArrayImpl(Blob fromBlob,
ByteArrayOutputStream baos,
int bufferSize)
throws SQLException,
IOException
- Throws:
SQLException
IOException