public enum ContentEncryption extends Enum<ContentEncryption>
ProtectPDFOperation
Enum Constant and Description |
---|
ALL_CONTENT
Encrypts all the content of the PDF file
|
ALL_CONTENT_EXCEPT_METADATA
Encrypts all the content except the metadata of the PDF file
|
Modifier and Type | Method and Description |
---|---|
String |
getValue()
Returns the value of the type of content to encrypt
|
static ContentEncryption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentEncryption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentEncryption ALL_CONTENT
public static final ContentEncryption ALL_CONTENT_EXCEPT_METADATA
public static ContentEncryption[] values()
for (ContentEncryption c : ContentEncryption.values()) System.out.println(c);
public static ContentEncryption 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 nullpublic String getValue()
Copyright © 2023 Adobe. All rights reserved.