code: public static String getSpell(String chinese) {
  		if (StringUtils.isBlank(chinese))
  			return "";
  		StringBuffer pybf = new StringBuffer();
  		char[] arr = chinese.toCharArray();
  		HanyuPinyinOutputFormat defaultFormat = new HanyuPinyinOutputFormat();
  		defaultFormat.setCaseType(HanyuPinyinCaseType.LOWERCASE);
  		defaultFormat.setToneType(HanyuPinyinToneType.WITHOUT_TONE);
  		for (int i = 0; i < arr.length; i++) {
  			if (arr[i] > 128) {
  				try {
  					pybf.append(PinyinHelper.toHanyuPinyinStringArray(arr[i], defaultFormat)[0]);
  				} catch (BadHanyuPinyinOutputFormatCombination e) {
  					throw new KnifeUtilsException(e);
  				}
  			} else {
  				pybf.append(arr[i]);
  			}
  		}
  		return pybf.toString();
  	}
docs: 获取汉字串拼音，英文字符不变
  
  @param chinese
  汉字串
  @return 汉语拼音