Package de.xima.fc.workflow.converter
Enum EFormPersistFile
- All Implemented Interfaces:
Serializable
,Comparable<EFormPersistFile>
Enumeration of the different form persist files.
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionExport of the entire formAdobe live cycle.Form designer persist file.A PDF document with form fields that need to be converted to a web form.Workflow designer persist file. -
Method Summary
Modifier and TypeMethodDescriptionabstract int
final int
static Optional<EFormPersistFile>
static EFormPersistFile
Returns the enum constant of this type with the specified name.static EFormPersistFile[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ENTIRE_FORM
Export of the entire form -
FORM_DESIGNER_LIVECYCLE
Adobe live cycle. -
FORM_DESIGNER_PERSIST
Form designer persist file. -
PDF_ACRO_FORM
A PDF document with form fields that need to be converted to a web form.- Since:
- 7.2.0
-
WORKFLOW_DESIGNER
Workflow designer persist file.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
computeScore
- Parameters:
file
- A file to process.- Returns:
- A score that indicates how likely the given file is of this type. Higher score means more likey,
0
is most unlikely.
-
computeScoreOrZero
- Parameters:
file
- A file to process.- Returns:
- A score that indicates how likely the given file is of this type, or
0
when an error occurs while compute the score. Higher score means more likely,0
is most unlikely.
-
determineType
- Parameters:
file
- File to process.- Returns:
- The most likely type for the file, empty if not a form persist file.
-