汉字转化为拼音,call代码: public static String getPinYin(String src) { String t4 = ""; if (StringUtils.isNotEmpty(src)) { char[] t1 = null; t1 = src.toCharArray(); String[] t2 = new String[t1.length]; // 设置汉字拼音输出的格式 HanyuPinyinOutputFormat t3 = new HanyuPinyinOutputFormat(); t3.setCaseT