|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xerces.impl.dv.util.HexBin
format validation This class encodes/decodes hexadecimal data
Constructor Summary | |
HexBin()
|
Method Summary | |
static byte[] |
decode(java.lang.String encoded)
Decode hex string to a byte array |
static java.lang.String |
encode(byte[] binaryData)
Encode a byte array to hex string |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HexBin()
Method Detail |
public static java.lang.String encode(byte[] binaryData)
binaryData
- array of byte to encodepublic static byte[] decode(java.lang.String encoded)
encoded
- encoded string
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |