Class DlexResource

java.lang.Object
com.dynamicpdf.api.Resource
com.dynamicpdf.api.DlexResource

public class DlexResource extends Resource
Represents a Dlex resource object that is created using the DLEX file and a name.
  • Constructor Details

    • DlexResource

      public DlexResource(String dlexPath, String resourceName)
      Initializes a new instance of the DlexResource class with DLEX file path and resource name as parameters.
      Parameters:
      dlexPath - The dlex file path.
      resourceName - The name of the resource.
    • DlexResource

      public DlexResource(String dlexPath)
      Initializes a new instance of the DlexResource class with DLEX file path as parameter.
      Parameters:
      dlexPath - The dlex file path.
    • DlexResource

      public DlexResource(byte[] value, String resourceName)
      Initializes a new instance of the DlexResource class with byte data of the DLEX file and resource name as parameters.
      Parameters:
      value - The byte array of the dlex file.
      resourceName - The name of the resource.
    • DlexResource

      public DlexResource(byte[] value)
      Initializes a new instance of the DlexResource class with byte data of the DLEX file as parameter.
      Parameters:
      value - The byte array of the dlex file.
    • DlexResource

      public DlexResource(InputStream data, String resourceName)
      Initializes a new instance of the DlexResource class with stream of the DLEX file and resource name as parameters.
      Parameters:
      data - The stream of the dlex file.
      resourceName - The name of the resource.
    • DlexResource

      public DlexResource(InputStream data)
      Initializes a new instance of the DlexResource class with stream of the DLEX file as parameter.
      Parameters:
      data - The stream of the dlex file.
  • Method Details

    • getLayoutDataResourceName

      public String getLayoutDataResourceName()
      Gets the name for layout data resource.

      The name for layout data resource.

      Returns:
      layoutDataResourceName Gets the layout data resource.
    • setLayoutDataResourceName

      public void setLayoutDataResourceName(String value)
      Sets the name for layout data resource.
      Parameters:
      value - The name for layout data resource.