Enum ExportPDFToImagesTargetFormat
- java.lang.Object
-
- java.lang.Enum<ExportPDFToImagesTargetFormat>
-
- com.adobe.pdfservices.operation.pdfjobs.params.exportpdftoimages.ExportPDFToImagesTargetFormat
-
- All Implemented Interfaces:
Serializable
,Comparable<ExportPDFToImagesTargetFormat>
public enum ExportPDFToImagesTargetFormat extends Enum<ExportPDFToImagesTargetFormat>
Supported target formats forExportPDFToImagesJob
.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFileExt()
Returns the file extension of this format.static ExportPDFToImagesTargetFormat
valueOf(String name)
Returns the enum constant of this type with the specified name.static ExportPDFToImagesTargetFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JPEG
public static final ExportPDFToImagesTargetFormat JPEG
Represents "image/jpeg" media type.
-
PNG
public static final ExportPDFToImagesTargetFormat PNG
Represents "image/png" media type.
-
-
Method Detail
-
values
public static ExportPDFToImagesTargetFormat[] 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 (ExportPDFToImagesTargetFormat c : ExportPDFToImagesTargetFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExportPDFToImagesTargetFormat 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.
-
-