public enum FamilyType extends Enum<FamilyType>
| Enum Constant and Description |
|---|
ARCHIVE
压缩文件
{"rar", "zip", "jar", "7-zip", "tar", "gzip", "7z"}
|
DRAWING
图像文件
{"odg", "png", "svg","jpg", "jpeg", "gif", "bmp", "ico", "raw"}
|
MEDIA
媒体文件
{"mp3", "mp4", "wav", "flv"}
|
PRESENTATION
电子表格文件
{"odp", "ppt", "pptx"}
|
SIMTEXT
媒体文件
{"txt", "html", "htm", "asp", "jsp", "xml", "json", "c",
"cpp","json", "md", "gitignore", "java", "py", "prg",
"cmd","sql", "sh", "bat", "m", "bas", "properties"}
|
SPREADSHEET
电子表格文件
{"ods", "xls", "xlsx", "csv"}
|
TEXT
文本文档
{"odt", "doc", "docx", "rtf"}
|
| Modifier and Type | Method and Description |
|---|---|
static FamilyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FamilyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FamilyType TEXT
public static final FamilyType SPREADSHEET
public static final FamilyType PRESENTATION
public static final FamilyType DRAWING
public static final FamilyType ARCHIVE
public static final FamilyType MEDIA
public static final FamilyType SIMTEXT
public static FamilyType[] values()
for (FamilyType c : FamilyType.values()) System.out.println(c);
public static FamilyType 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 nullCopyright © 2019. All rights reserved.