Package io.rong.imkit.utils
Class CharacterParser
-
- All Implemented Interfaces:
public class CharacterParser
Java汉字转换为拼音
-
-
Constructor Summary
Constructors Constructor Description CharacterParser()
-
Method Summary
Modifier and Type Method Description String
getResource()
void
setResource(String resource)
static CharacterParser
getInstance()
String
convert(String str)
单字解析 * * @param str * @return String
getSelling(String chs)
词组解析 * * @param chs * @return String
getSpelling()
-
-
Method Detail
-
getResource
String getResource()
-
setResource
void setResource(String resource)
-
getInstance
static CharacterParser getInstance()
-
convert
String convert(String str)
单字解析 * * @param str * @return
-
getSelling
String getSelling(String chs)
词组解析 * * @param chs * @return
-
getSpelling
String getSpelling()
-
-
-
-