|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xerces.impl.dv.util.HexBin
public final class 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 |
---|
equals, 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 encode
public static byte[] decode(java.lang.String encoded)
encoded
- encoded string
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |