public static enum InformationCaseTemplet.FileRuleType extends Enum<InformationCaseTemplet.FileRuleType>
文件名:InformationCase.java
用途:用于枚举上传文件的格式
编码时间:2020年3月18日上午9:30:34
修改时间:2020年3月18日上午9:30:34
Enum Constant and Description |
---|
BMP
bmp格式
|
CSV
csv格式
|
DOC
doc格式
|
DOCX
docx格式
|
GIF
gif格式
|
JPG
jpg格式
|
PDF
pdf格式
|
PNG
png格式
|
TXT
txt格式
|
XLS
xls格式
|
XLSX
xlsx格式
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
返回格式名称
|
static InformationCaseTemplet.FileRuleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InformationCaseTemplet.FileRuleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InformationCaseTemplet.FileRuleType JPG
public static final InformationCaseTemplet.FileRuleType GIF
public static final InformationCaseTemplet.FileRuleType PNG
public static final InformationCaseTemplet.FileRuleType BMP
public static final InformationCaseTemplet.FileRuleType DOC
public static final InformationCaseTemplet.FileRuleType DOCX
public static final InformationCaseTemplet.FileRuleType TXT
public static final InformationCaseTemplet.FileRuleType XLS
public static final InformationCaseTemplet.FileRuleType XLSX
public static final InformationCaseTemplet.FileRuleType PDF
public static final InformationCaseTemplet.FileRuleType CSV
public static InformationCaseTemplet.FileRuleType[] values()
for (InformationCaseTemplet.FileRuleType c : InformationCaseTemplet.FileRuleType.values()) System.out.println(c);
public static InformationCaseTemplet.FileRuleType 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 String getName()
Copyright © 2024. All rights reserved.