|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xmlbeans.impl.util.HexBin
public final class HexBin
format validation This class encodes/decodes hexadecimal data
Constructor Summary | |
---|---|
HexBin()
|
Method Summary | |
---|---|
static java.lang.String |
bytesToString(byte[] binaryData)
Converts bytes to a hex string |
static byte[] |
decode(byte[] binaryData)
|
static java.lang.String |
decode(java.lang.String binaryData)
Decodes Hex data into octects |
static byte[] |
encode(byte[] binaryData)
array of byte to encode |
static java.lang.String |
encode(java.lang.String binaryData)
Encodes octects (using utf-8) into Hex data |
static byte[] |
stringToBytes(java.lang.String hexEncoded)
Converts a hex string to a byte array. |
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 bytesToString(byte[] binaryData)
public static byte[] stringToBytes(java.lang.String hexEncoded)
public static byte[] encode(byte[] binaryData)
binaryData
-
public static byte[] decode(byte[] binaryData)
public static java.lang.String decode(java.lang.String binaryData)
binaryData
- String containing Hex data
public static java.lang.String encode(java.lang.String binaryData)
binaryData
- String containing Hex data
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |