Java Enum 类型

public enum ParseType { JSON("json"), XML("xml"), FILE("file"); private String type; private ParseType(String type) { this.type = type; } public String getType()
相关文章
相关标签/搜索