Package com.dynamicpdf.api
Class DlexLayout
java.lang.Object
com.dynamicpdf.api.Endpoint
com.dynamicpdf.api.DlexLayout
Represents a Dlex layout endpoint.
-
Constructor Summary
ConstructorDescriptionDlexLayout(String cloudDlexPath, LayoutDataResource layoutData)
Initializes a new instance of theDlexLayout
class using the DLEX file path present in the cloud environment and the JSON data for the PDF report. -
Method Summary
Modifier and TypeMethodDescriptionGets the DLEX file path present in the resource manager.process()
Process the DLEX and layout data to create PDF report.Process the DLEX and layout data to create PDF report.void
setDlexPath(String value)
Sets the DLEX file path present in the resource manager.Methods inherited from class com.dynamicpdf.api.Endpoint
createRequestSpecification, getApiKey, getBaseUrl, getDefaultApiKey, getDefaultBaseUrl, setApiKey, setBaseUrl, setDefaultApiKey, setDefaultBaseUrl
-
Constructor Details
-
DlexLayout
Initializes a new instance of theDlexLayout
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
- TheLayoutDataResource
, json data file used to create the PDF report.
-
-
Method Details
-
getDlexPath
Gets the DLEX file path present in the resource manager.- Returns:
- The DLEX file path present in the resource manager.
-
setDlexPath
Sets the DLEX file path present in the resource manager.- Parameters:
value
- The DLEX file path present in the resource manager.
-
process
Process the DLEX and layout data to create PDF report.- Returns:
- Pdf Response
-
processAsync
Process the DLEX and layout data to create PDF report.- Returns:
- collection of
PdfResponse
as multithreading tasksCompletableFuture
.
-