public enum SupportedFileFormat extends java.lang.Enum<SupportedFileFormat>
Modifier and Type | Method and Description |
---|---|
int |
getExtensionId() |
java.lang.String |
getExtensionTitle() |
static SupportedFileFormat |
getSupportedFormat(java.lang.String extension) |
static SupportedFileFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SupportedFileFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SupportedFileFormat DOCX
public static final SupportedFileFormat XLSX
public static final SupportedFileFormat ODT
public static SupportedFileFormat[] values()
for (SupportedFileFormat c : SupportedFileFormat.values()) System.out.println(c);
public static SupportedFileFormat 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 int getExtensionId()
public java.lang.String getExtensionTitle()
public static SupportedFileFormat getSupportedFormat(java.lang.String extension)