Class CharacterParser

  • All Implemented Interfaces:

    
    public class CharacterParser
    
                        

    Java汉字转换为拼音

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public static Array<String> pystr
      public String resource
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait