public static enum ProtectPDFOperation.SupportedSourceFormat extends Enum<ProtectPDFOperation.SupportedSourceFormat> implements com.adobe.pdfservices.operation.internal.MediaType
ProtectPDFOperation
.Enum Constant and Description |
---|
PDF
Represents "application/pdf" media type
|
Modifier and Type | Method and Description |
---|---|
String |
getMediaType()
Returns the corresponding media type for this format, intended to be used for
mediaType parameter in
FileRef methods. |
static ProtectPDFOperation.SupportedSourceFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProtectPDFOperation.SupportedSourceFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtectPDFOperation.SupportedSourceFormat PDF
public static ProtectPDFOperation.SupportedSourceFormat[] values()
for (ProtectPDFOperation.SupportedSourceFormat c : ProtectPDFOperation.SupportedSourceFormat.values()) System.out.println(c);
public static ProtectPDFOperation.SupportedSourceFormat valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2023 Adobe. All rights reserved.