public class PinyinFormat extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
PinyinFormat.CaseType
大小写有三种方式:
1) 全小写
2) 全大写
3) 驼峰法,首字母大写,后面小写
|
static class |
PinyinFormat.PYSystem |
static class |
PinyinFormat.ToneMode
声调(tone)有5个:1、2、3、4、轻,
声调的展示方式有3种:
1)不显示,这个为默认值
2)以数字方式显示在后面
3)正常方式:元音字母上面
|
static class |
PinyinFormat.YuCharType
有4个带有两点的u的韵母:
u, un, ue, uan
字母 u 的显示方式有三种:
1) 带两点的u
2) 用v来替代
3) 用u: 来替代
|
| 构造器和说明 |
|---|
PinyinFormat() |
| 限定符和类型 | 方法和说明 |
|---|---|
PinyinFormat.CaseType |
getCaseType() |
PinyinFormat.PYSystem |
getPySystem() |
PinyinFormat.ToneMode |
getToneMode() |
PinyinFormat.YuCharType |
getYuCharType() |
void |
setCaseType(PinyinFormat.CaseType caseType) |
void |
setPySystem(PinyinFormat.PYSystem pySystem) |
void |
setToneMode(PinyinFormat.ToneMode toneMode) |
void |
setYuCharType(PinyinFormat.YuCharType yuCharType) |
public PinyinFormat.PYSystem getPySystem()
public void setPySystem(PinyinFormat.PYSystem pySystem)
public PinyinFormat.ToneMode getToneMode()
public void setToneMode(PinyinFormat.ToneMode toneMode)
public PinyinFormat.YuCharType getYuCharType()
public void setYuCharType(PinyinFormat.YuCharType yuCharType)
public PinyinFormat.CaseType getCaseType()
public void setCaseType(PinyinFormat.CaseType caseType)
Copyright © 2021. All rights reserved.