| 程序包 | 说明 |
|---|---|
| com.github.houbb.pinyin.model | |
| com.github.houbb.pinyin.support.style | |
| com.github.houbb.pinyin.support.tone |
| 限定符和类型 | 方法和说明 |
|---|---|
static CharToneInfo |
CharToneInfo.of(ToneItem toneItem,
int index)
构建对象实例
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected String |
NumLastPinyinToneStyle.getCharFormat(String tone,
CharToneInfo toneInfo) |
protected String |
NormalPinyinToneStyle.getCharFormat(String tone,
CharToneInfo toneInfo) |
protected String |
InputToneStyle.getCharFormat(String tone,
CharToneInfo toneInfo) |
protected String |
FirstLetterPinyinToneStyle.getCharFormat(String tone,
CharToneInfo toneInfo) |
protected abstract String |
AbstractPinyinToneStyle.getCharFormat(String tone,
CharToneInfo toneInfo)
获取单个字符拼音的格式化
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected CharToneInfo |
DefaultPinyinTone.getCharToneInfo(String tone)
获取对应的声调信息
|
Copyright © 2021. All rights reserved.