public static enum CPDFDocument.PDFDocumentError extends java.lang.Enum<CPDFDocument.PDFDocumentError>
Enum Constant and Description |
---|
PDFDocumentErrorFile
File not found or could not be opened.
|
PDFDocumentErrorFormat
File not in PDF format or corrupted.
|
PDFDocumentErrorNoReadPermission
No read permission
|
PDFDocumentErrorPage
Error page
|
PDFDocumentErrorPassword
Password required or incorrect password.
|
PDFDocumentErrorSecurity
Unsupported security scheme.
|
PDFDocumentErrorSuccess
Success
|
PDFDocumentErrorUnknown
Unknown error
|
PDFDocumentNotVerifyLicense
SDK No verified license
|
Modifier and Type | Method and Description |
---|---|
static CPDFDocument.PDFDocumentError |
toEnum(int id)
Gets error type according to id value.
|
static CPDFDocument.PDFDocumentError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CPDFDocument.PDFDocumentError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CPDFDocument.PDFDocumentError PDFDocumentErrorNoReadPermission
public static final CPDFDocument.PDFDocumentError PDFDocumentNotVerifyLicense
public static final CPDFDocument.PDFDocumentError PDFDocumentErrorSuccess
public static final CPDFDocument.PDFDocumentError PDFDocumentErrorUnknown
public static final CPDFDocument.PDFDocumentError PDFDocumentErrorFile
public static final CPDFDocument.PDFDocumentError PDFDocumentErrorFormat
public static final CPDFDocument.PDFDocumentError PDFDocumentErrorPassword
public static final CPDFDocument.PDFDocumentError PDFDocumentErrorSecurity
public static final CPDFDocument.PDFDocumentError PDFDocumentErrorPage
public static CPDFDocument.PDFDocumentError[] values()
for (CPDFDocument.PDFDocumentError c : CPDFDocument.PDFDocumentError.values()) System.out.println(c);
public static CPDFDocument.PDFDocumentError valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static CPDFDocument.PDFDocumentError toEnum(int id)
id
- int value for the error type enumeration.