Enum EFormPersistFile

    • Enum Constant Detail

      • ENTIRE_FORM

        public static final EFormPersistFile ENTIRE_FORM
        Export of the entire form
      • FORM_DESIGNER_LIVECYCLE

        public static final EFormPersistFile FORM_DESIGNER_LIVECYCLE
        Adobe live cycle.
      • FORM_DESIGNER_PERSIST

        public static final EFormPersistFile FORM_DESIGNER_PERSIST
        Form designer persist file.
      • WORKFLOW_DESIGNER

        public static final EFormPersistFile WORKFLOW_DESIGNER
        Workflow designer persist file.
    • Method Detail

      • values

        public static EFormPersistFile[] 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 (EFormPersistFile c : EFormPersistFile.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EFormPersistFile 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 name
        NullPointerException - if the argument is null
      • computeScore

        public abstract int computeScore​(GenericFormPersistFile file)
        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

        public final int computeScoreOrZero​(GenericFormPersistFile file)
        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.