public static String toHexString(String s) {
		String str = "";
		for (int i = 0; i < s.length(); i++) {
			int ch = s.charAt(i);
			String s4 = Integer.toHexString(ch);
			str = str + s4;
		}
		return str;
	}
public static String toHexString ( String s ) { String str = "" ; for ( int i = 0 ; i < s . length ( ) ; i ++ ) { int ch = s . charAt ( i ) ; String s4 = Integer . toHexString ( ch ) ; str = str + s4 ; } return str ; }
将成16进制转换字符串字符</br>

@param s
需要转换的16进制字符串 return 转换后的字符