Class MergeFieldsStrategy

    • Constructor Detail

    • Method Detail

      • execute

        public boolean execute​(PdfFormField firstField,
                               PdfFormField secondField,
                               boolean throwExceptionOnError)
        executes the strategy.
        Specified by:
        execute in interface OnDuplicateFormFieldNameStrategy
        Parameters:
        firstField - the first field
        secondField - the second field
        throwExceptionOnError - if true, an exception will be thrown
        Returns:
        true if the second field was merged successfully, false otherwise