public class PinyinUtils extends Object
| Constructor and Description |
|---|
PinyinUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getAllFirstLetter(String chinese)
获取所给中文的每个汉字首字母组成首字母字符串
|
static char |
getFirstLetter(char ch)
获取拼音首字母
传入汉字,返回拼音首字母
如果传入为字母,返回其小写形式
感谢【帝都】宁静 提供方法
|
static String |
getPinYin(String chinese)
汉字转拼音
|
Copyright © 2019. All rights reserved.