XCMS Toolkit

jtools
Class Hex2BinaryConversion

java.lang.Object
  extended by jtools.Hex2BinaryConversion

public class Hex2BinaryConversion
extends java.lang.Object

Converts the hexadecimal encoding of some binary data into a byte array. The hexadecimal characters may include white space ( space, tab and CR ).

Version:
1.00 - 2006/02/10
Author:
support@phillipgriffin.com

Constructor Summary
Hex2BinaryConversion()
          Constructor for Hex2BinaryConversion.
 
Method Summary
 byte[] convert(java.lang.String hex)
          Convert 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

Hex2BinaryConversion

public Hex2BinaryConversion()
Constructor for Hex2BinaryConversion.

Method Detail

convert

public byte[] convert(java.lang.String hex)
               throws java.io.IOException
Convert a hexadecimal string into a byte array.

Parameters:
hex - string to be converted to byte array
Throws:
java.io.IOException

XCMS Toolkit


Copyright © 2005-2006 GRIFFIN Consulting. All Rights Reserved.