public static String HexToChar(String hex){
  char value[]=new char[hex.length() / 2];
  int hexLength=value.length;
  for (int i=0; i < hexLength; i++)   value[i]=(char)Integer.parseInt(hex.substring(2 * i,2 * i + 2),16);
  return new String(value);
}

public static String HexToChar ( String hex ) { char value [ ] = new char [ hex . length ( ) / 2 ] ; int hexLength = value . length ; for ( int i = 0 ; i < hexLength ; i ++ ) value [ i ] = ( char ) Integer . parseInt ( hex . substring ( 2 * i , 2 * i + 2 ) , 16 ) ; return new String ( value ) ; }
converts the specified hexadecimal string into a character string .
