public class PinyinFormat extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static PinyinFormat |
ABBR_PINYIN_FORMAT |
static PinyinFormat |
DEFAULT_PINYIN_FORMAT |
static PinyinFormat |
TONELESS_PINYIN_FORMAT |
static PinyinFormat |
UNICODE_PINYIN_FORMAT |
| 构造器和说明 |
|---|
PinyinFormat() |
PinyinFormat(YuCharType yuCharType,
ToneType toneType) |
PinyinFormat(YuCharType yuCharType,
ToneType toneType,
CaseType caseType) |
PinyinFormat(YuCharType yuCharType,
ToneType toneType,
CaseType caseType,
String separator) |
PinyinFormat(YuCharType yuCharType,
ToneType toneType,
CaseType caseType,
String separator,
boolean onlyPinyin) |
| 限定符和类型 | 方法和说明 |
|---|---|
CaseType |
getCaseType() |
String |
getSeparator() |
ToneType |
getToneType() |
YuCharType |
getYuCharType() |
boolean |
isOnlyPinyin() |
void |
setCaseType(CaseType caseType) |
void |
setOnlyPinyin(boolean onlyPinyin) |
void |
setSeparator(String separator) |
void |
setToneType(ToneType toneType) |
void |
setYuCharType(YuCharType yuCharType) |
public static final PinyinFormat DEFAULT_PINYIN_FORMAT
public static final PinyinFormat UNICODE_PINYIN_FORMAT
public static final PinyinFormat TONELESS_PINYIN_FORMAT
public static final PinyinFormat ABBR_PINYIN_FORMAT
public PinyinFormat()
public PinyinFormat(YuCharType yuCharType, ToneType toneType, CaseType caseType, String separator, boolean onlyPinyin)
public PinyinFormat(YuCharType yuCharType, ToneType toneType, CaseType caseType, String separator)
public PinyinFormat(YuCharType yuCharType, ToneType toneType, CaseType caseType)
public PinyinFormat(YuCharType yuCharType, ToneType toneType)
public YuCharType getYuCharType()
public void setYuCharType(YuCharType yuCharType)
public CaseType getCaseType()
public void setCaseType(CaseType caseType)
public ToneType getToneType()
public void setToneType(ToneType toneType)
public String getSeparator()
public void setSeparator(String separator)
public boolean isOnlyPinyin()
public void setOnlyPinyin(boolean onlyPinyin)
Copyright © 2014. All rights reserved.