类 HanziToPinyinUtils.Token

java.lang.Object
javabase.lorenwang.tools.common.HanziToPinyinUtils.Token
封闭类:
HanziToPinyinUtils

public static class HanziToPinyinUtils.Token
extends Object
  • 字段详细资料

    • SEPARATOR

      public static final String SEPARATOR
      Separator between target string for each source char
      另请参阅:
      常量字段值
    • LATIN

      public static final int LATIN
      另请参阅:
      常量字段值
    • PINYIN

      public static final int PINYIN
      另请参阅:
      常量字段值
    • UNKNOWN

      public static final int UNKNOWN
      另请参阅:
      常量字段值
    • type

      public int type
      Type of this token, ASCII, PINYIN or UNKNOWN.
    • source

      public String source
      Original string before translation.
    • target

      public String target
      Translated string of source. For Han, target is corresponding Pinyin. Otherwise target is original string in source.
  • 构造器详细资料

    • Token

      public Token()
    • Token

      public Token​(int type, String source, String target)