|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fosstrak.ale.util.HexUtil
public class HexUtil
This method provides some methods to convert byte arrays into hexadecimal strings and vice versa.
| Constructor Summary | |
|---|---|
HexUtil()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
byteArrayToHexString(byte[] byteArray)
This method converts a byte array into a hexadecimal string. |
static byte[] |
hexStringToByteArray(java.lang.String hexString)
This method converts a hexadecimal string into a byte array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HexUtil()
| Method Detail |
|---|
public static java.lang.String byteArrayToHexString(byte[] byteArray)
byteArray - to convert
public static byte[] hexStringToByteArray(java.lang.String hexString)
hexString - to convert
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||