Enum ExportPDFTargetFormat
- java.lang.Object
-
- java.lang.Enum<ExportPDFTargetFormat>
-
- com.adobe.pdfservices.operation.pdfjobs.params.exportpdf.ExportPDFTargetFormat
-
- All Implemented Interfaces:
Serializable
,Comparable<ExportPDFTargetFormat>
public enum ExportPDFTargetFormat extends Enum<ExportPDFTargetFormat>
Supported target formats forExportPDFJob
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DOC
Represents "application/msword" media typeDOCX
Represents "application/vnd.openxmlformats-officedocument.wordprocessingml.document" media typePPTX
Represents "application/vnd.openxmlformats-officedocument.presentationml.presentation" media typeRTF
Represents "text/rtf" media typeXLSX
Represents "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" media type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFileExt()
Returns the file extension of this formatstatic ExportPDFTargetFormat
valueOf(String name)
Returns the enum constant of this type with the specified name.static ExportPDFTargetFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DOC
public static final ExportPDFTargetFormat DOC
Represents "application/msword" media type
-
DOCX
public static final ExportPDFTargetFormat DOCX
Represents "application/vnd.openxmlformats-officedocument.wordprocessingml.document" media type
-
PPTX
public static final ExportPDFTargetFormat PPTX
Represents "application/vnd.openxmlformats-officedocument.presentationml.presentation" media type
-
RTF
public static final ExportPDFTargetFormat RTF
Represents "text/rtf" media type
-
XLSX
public static final ExportPDFTargetFormat XLSX
Represents "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" media type
-
-
Method Detail
-
values
public static ExportPDFTargetFormat[] 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 (ExportPDFTargetFormat c : ExportPDFTargetFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExportPDFTargetFormat valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getFileExt
public String getFileExt()
Returns the file extension of this format- Returns:
- file extension of this format
-
-