|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.cjdbc.common.sql.filters.AbstractBlobFilter org.objectweb.cjdbc.common.sql.filters.HexaBlobFilter
This class defines a HexaBlobFilterInterface. It encodes the blobs in hexa values
Constructor Summary | |
HexaBlobFilter()
|
Method Summary | |
byte[] |
decode(byte[] data)
Decode the blob data from the database. |
byte[] |
decode(java.lang.String data)
Decode the blob data from the database. |
java.lang.String |
encode(byte[] data)
Encode the blob data in a form that is independant of the database. |
java.lang.String |
encode(java.lang.String data)
Encode the blob data in a form that is independant of the database. |
java.lang.String |
getXml()
Get the XML attribute value of the filter as defined in the DTD. |
Methods inherited from class org.objectweb.cjdbc.common.sql.filters.AbstractBlobFilter |
getBlobFilterInstance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HexaBlobFilter()
Method Detail |
public byte[] decode(byte[] data)
AbstractBlobFilter
decode
in class AbstractBlobFilter
data
- the data to decode
byte[]
decoded byte array of dataAbstractBlobFilter.decode(java.lang.String)
public java.lang.String encode(java.lang.String data)
AbstractBlobFilter
encode
in class AbstractBlobFilter
data
- the byte array to convert
String
object is returned for convenience as this is
the way it is going to be handled afterwards.AbstractBlobFilter.encode(java.lang.String)
public byte[] decode(java.lang.String data)
AbstractBlobFilter
decode
in class AbstractBlobFilter
data
- the data to decode
byte[]
decoded byte array of dataAbstractBlobFilter.decode(java.lang.String)
public java.lang.String encode(byte[] data)
AbstractBlobFilter
encode
in class AbstractBlobFilter
data
- the byte array to convert
String
object is returned for convenience as this is
the way it is going to be handled afterwards.AbstractBlobFilter.encode(byte[])
public java.lang.String getXml()
AbstractBlobFilter
getXml
in class AbstractBlobFilter
AbstractBlobFilter.getXml()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |