|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.util.HexSupport
public final class HexSupport
Used to convert to hex from byte arrays and back.
Method Summary | |
---|---|
static byte[] |
toBytesFromHex(java.lang.String hex)
|
static java.lang.String |
toHexFromBytes(byte[] bytes)
|
static java.lang.String |
toHexFromInt(int value,
boolean trim)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static byte[] toBytesFromHex(java.lang.String hex)
hex
-
public static java.lang.String toHexFromBytes(byte[] bytes)
bytes
-
public static java.lang.String toHexFromInt(int value, boolean trim)
value
- trim
- if the leading 0's should be trimmed off.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |