public enum SupportFileTypeEnum extends Enum<SupportFileTypeEnum>
| Enum Constant and Description |
|---|
ANY |
PROPERTIES
支持properties 特殊处理,支持非properties任意处理
|
XML |
| Modifier and Type | Method and Description |
|---|---|
static SupportFileTypeEnum |
getByFileName(String fileName)
根据文件名返回其文件后缀ENUM
|
static SupportFileTypeEnum |
getByType(int type) |
String |
getModelName() |
int |
getType() |
void |
setModelName(String modelName) |
void |
setType(int type) |
static SupportFileTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SupportFileTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SupportFileTypeEnum PROPERTIES
public static final SupportFileTypeEnum XML
public static final SupportFileTypeEnum ANY
public static SupportFileTypeEnum[] values()
for (SupportFileTypeEnum c : SupportFileTypeEnum.values()) System.out.println(c);
public static SupportFileTypeEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static SupportFileTypeEnum getByFileName(String fileName)
public static SupportFileTypeEnum getByType(int type)
public int getType()
public void setType(int type)
public String getModelName()
public void setModelName(String modelName)
Copyright © 2015–2016 Baidu. All rights reserved.