com.webapp.utils.jpinyin.PinyinFormat Maven / Gradle / Ivy
package com.webapp.utils.jpinyin;
/**
* 拼音格式类
*/
public class PinyinFormat {
private String name;
public static final PinyinFormat WITH_TONE_MARK = new PinyinFormat("WITH_TONE_MARK");
public static final PinyinFormat WITHOUT_TONE = new PinyinFormat("WITHOUT_TONE");
public static final PinyinFormat WITH_TONE_NUMBER = new PinyinFormat("WITH_TONE_NUMBER");
protected PinyinFormat(String name) {
this.name = name;
}
protected String getName() {
return this.name;
}
}