railo.runtime.coder
Class HexCoder

java.lang.Object
  extended by railo.runtime.coder.HexCoder

public final class HexCoder
extends Object


Constructor Summary
HexCoder()
           
 
Method Summary
static byte[] decode(String hexa)
          decodes back a String to a byte array
static String encode(byte[] bytes)
          encodes a byte array to a String
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HexCoder

public HexCoder()
Method Detail

encode

public static String encode(byte[] bytes)
encodes a byte array to a String

Parameters:
bytes -
Returns:
encoed String

decode

public static byte[] decode(String hexa)
                     throws CoderException
decodes back a String to a byte array

Parameters:
hexa -
Returns:
decoded byte array
Throws:
CoderException


Copyright © 2012 Railo