Class DlexLayout

java.lang.Object
com.dynamicpdf.api.Endpoint
com.dynamicpdf.api.DlexLayout

public class DlexLayout extends Endpoint
Represents a Dlex layout endpoint.
  • Constructor Details

    • DlexLayout

      public DlexLayout(String cloudDlexPath, LayoutDataResource layoutData)
      Initializes a new instance of the DlexLayout class using the DLEX file path present in the cloud environment and the JSON data for the PDF report.
      Parameters:
      cloudDlexPath - The DLEX file path present in the resource manager.
      layoutData - The LayoutDataResource, json data file used to create the PDF report.
  • Method Details

    • getDlexPath

      public String getDlexPath()
      Gets the DLEX file path present in the resource manager.
      Returns:
      The DLEX file path present in the resource manager.
    • setDlexPath

      public void setDlexPath(String value)
      Sets the DLEX file path present in the resource manager.
      Parameters:
      value - The DLEX file path present in the resource manager.
    • process

      public PdfResponse process()
      Process the DLEX and layout data to create PDF report.
      Returns:
      Pdf Response
    • processAsync

      public CompletableFuture<PdfResponse> processAsync()
      Process the DLEX and layout data to create PDF report.
      Returns:
      collection of PdfResponse as multithreading tasks CompletableFuture.