public class PinyinFormat extends Object
| Modifier and Type | Field and Description |
|---|---|
static PinyinFormat |
ABBR_PINYIN_FORMAT |
static PinyinFormat |
DEFAULT_PINYIN_FORMAT |
static PinyinFormat |
TONELESS_PINYIN_FORMAT |
static PinyinFormat |
UNICODE_PINYIN_FORMAT |
| Constructor and Description |
|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
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 © 2017. All rights reserved.