org.apache.activemq.util
Class HexSupport

java.lang.Object
  extended by org.apache.activemq.util.HexSupport

public class HexSupport
extends java.lang.Object

Used to convert to hex from byte arrays and back.

Version:
$Revision: 1.2 $

Constructor Summary
HexSupport()
           
 
Method Summary
static byte[] toBytesFromHex(java.lang.String hex)
           
static java.lang.String toHexFromBytes(byte[] bytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HexSupport

public HexSupport()
Method Detail

toBytesFromHex

public static byte[] toBytesFromHex(java.lang.String hex)
Parameters:
hex -
Returns:

toHexFromBytes

public static java.lang.String toHexFromBytes(byte[] bytes)
Parameters:
bytes -
Returns:


Copyright © 2009 Apache Software Foundation. All Rights Reserved.