public static enum FileBean.FileType extends Enum<FileBean.FileType>
| Modifier and Type | Method and Description |
|---|---|
static FileBean.FileType |
getInstance(String type) |
List<String> |
getMimeTypes() |
String |
getType() |
static FileBean.FileType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileBean.FileType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileBean.FileType CSV
public static final FileBean.FileType JSON
public static final FileBean.FileType ZIP
public static final FileBean.FileType IMAGE
public static final FileBean.FileType UNKNOWN
public static FileBean.FileType[] values()
for (FileBean.FileType c : FileBean.FileType.values()) System.out.println(c);
public static FileBean.FileType 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 FileBean.FileType getInstance(String type)
public String getType()
Copyright © 2024 Atlassian. All rights reserved.