public static enum APIConstants.FileExtension extends java.lang.Enum<APIConstants.FileExtension>
Enum Constant and Description |
---|
AMP
AMP - Refers to the file extension is AMP.
|
NONE |
XML
XML - Refers to the file extension is XML.
|
ZIP
ZIP - Refers to the file extension is ZIP.
|
Modifier and Type | Method and Description |
---|---|
static APIConstants.FileExtension |
getFileExtension(java.lang.String value) |
static APIConstants.FileExtension |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static APIConstants.FileExtension[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final APIConstants.FileExtension AMP
public static final APIConstants.FileExtension ZIP
public static final APIConstants.FileExtension XML
public static final APIConstants.FileExtension NONE
public static APIConstants.FileExtension[] values()
for (APIConstants.FileExtension c : APIConstants.FileExtension.values()) System.out.println(c);
public static APIConstants.FileExtension valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static APIConstants.FileExtension getFileExtension(java.lang.String value)
value
-