| Package | Description |
|---|---|
| net.sourceforge.pinyin4j |
| Modifier and Type | Method and Description |
|---|---|
static String |
PinyinHelper.toHanYuPinyinString(String str,
HanyuPinyinOutputFormat outputFormat,
String separate,
boolean retain)
Get a string which all Chinese characters are replaced by corresponding
main (first) Hanyu Pinyin representation.
|
static String[] |
PinyinHelper.toHanyuPinyinStringArray(char ch,
HanyuPinyinOutputFormat outputFormat)
Get all Hanyu Pinyin presentations of a single Chinese character (both
Simplified and Tranditional)
|
Copyright © 2016. All Rights Reserved.