|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.cjdbc.common.stream.encoding.HexaEncoding
This class implements Hexa encoding and decoding
Constructor Summary | |
HexaEncoding()
|
Method Summary | |
static java.lang.String |
data2hex(byte[] data)
Convert data into hexa |
static byte[] |
hex2data(java.lang.String str)
convert hexa into data |
static byte |
toDataNibble(char c)
convert hexa char to byte value |
static char |
toHexChar(int i)
convert value to hexa value |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HexaEncoding()
Method Detail |
public static final java.lang.String data2hex(byte[] data)
data
- to convert
public static final byte[] hex2data(java.lang.String str)
str
- to convert
public static char toHexChar(int i)
i
- byte to convert
public static byte toDataNibble(char c)
c
- hexa character
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |