Class DocumentMergeParams.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Constructs a CompressPDFParams.Builder instance.
    • Method Detail

      • withJsonDataForMerge

        public DocumentMergeParams.Builder withJsonDataForMerge​(org.json.JSONObject jsonDataForMerge)
        Sets the input JSON data for the document merge process.
        Parameters:
        jsonDataForMerge - json to be used in the document merge job; can not be null.
        Returns:
        this Builder instance to add any additional parameters
      • withOutputFormat

        public DocumentMergeParams.Builder withOutputFormat​(OutputFormat outputFormat)
        Sets the OutputFormat for the document merge process.
        Parameters:
        outputFormat - output format for the document merge result; can not be null.
        Returns:
        this Builder instance to add any additional parameters
      • withFragments

        public DocumentMergeParams.Builder withFragments​(Fragments fragments)
        Sets the Fragments for the document merge process.
        Parameters:
        fragments - fragments for document merge job; can not be null.
        Returns:
        this Builder instance to add any additional parameters