1.简/繁体汉字转换成拼音 -> Jian / Fan Ti Han Zi Zhuan Huan Cheng Pin Yin 2.还能转换成带声调的拼音 -> Hái Néng Zhuǎn Huàn Chéng Dài Shēng Diào De Pīn Yīn 3.全大写 This is an example!-> THIS IS AN EXAMPLE! 4.全小写 This is an example!-> this is an example! 5.首字母应大写
输入汉字可以转换成中文拼音。内包含jar包和demo public class PinYin { public static String getPinYin(String src){ char[] t1 = null; t1=src.toCharArray(); String[] t2 = new String[t1.length]; HanyuPinyinOutputFormat t3 = new HanyuPinyinOutputFormat(); t3.s etCaseType(Han