Enum Extensions
- java.lang.Object
-
- java.lang.Enum<Extensions>
-
- com.saperion.connector.renditions.mime.Extensions
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Extensions>
public enum Extensions extends java.lang.Enum<Extensions>
Enum that represents the type format to MIME mapping.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getExtension()
static Extensions
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Extensions[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DOC
public static final Extensions DOC
-
DOCX
public static final Extensions DOCX
-
DOCM
public static final Extensions DOCM
-
DOT
public static final Extensions DOT
-
EML
public static final Extensions EML
-
RTF
public static final Extensions RTF
-
PPT
public static final Extensions PPT
-
PPS
public static final Extensions PPS
-
PPAM
public static final Extensions PPAM
-
POT
public static final Extensions POT
-
PPTX
public static final Extensions PPTX
-
POTX
public static final Extensions POTX
-
XLS
public static final Extensions XLS
-
XLT
public static final Extensions XLT
-
XLSX
public static final Extensions XLSX
-
MSG
public static final Extensions MSG
-
ODT
public static final Extensions ODT
-
ODS
public static final Extensions ODS
-
ODP
public static final Extensions ODP
-
OTT
public static final Extensions OTT
-
OTS
public static final Extensions OTS
-
OTP
public static final Extensions OTP
-
TXT
public static final Extensions TXT
-
VSD
public static final Extensions VSD
-
BMP
public static final Extensions BMP
-
GIF
public static final Extensions GIF
-
TIFF
public static final Extensions TIFF
-
TIF
public static final Extensions TIF
-
JPG
public static final Extensions JPG
-
JPEG
public static final Extensions JPEG
-
CSV
public static final Extensions CSV
-
-
Method Detail
-
values
public static Extensions[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Extensions c : Extensions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Extensions valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getExtension
public java.lang.String getExtension()
-
-