Package com.dynamicpdf.api
Class DlexResource
java.lang.Object
com.dynamicpdf.api.Resource
com.dynamicpdf.api.DlexResource
Represents a Dlex resource object that is created using the DLEX file and a name.
-
Constructor Summary
ConstructorDescriptionDlexResource(byte[] value)
Initializes a new instance of theDlexResource
class with byte data of the DLEX file as parameter.DlexResource(byte[] value, String resourceName)
Initializes a new instance of theDlexResource
class with byte data of the DLEX file and resource name as parameters.DlexResource(InputStream data)
Initializes a new instance of theDlexResource
class with stream of the DLEX file as parameter.DlexResource(InputStream data, String resourceName)
Initializes a new instance of theDlexResource
class with stream of the DLEX file and resource name as parameters.DlexResource(String dlexPath)
Initializes a new instance of theDlexResource
class with DLEX file path as parameter.DlexResource(String dlexPath, String resourceName)
Initializes a new instance of theDlexResource
class with DLEX file path and resource name as parameters. -
Method Summary
Modifier and TypeMethodDescriptionGets the name for layout data resource.void
setLayoutDataResourceName(String value)
Sets the name for layout data resource.Methods inherited from class com.dynamicpdf.api.Resource
getResourceName, setResourceName
-
Constructor Details
-
DlexResource
Initializes a new instance of theDlexResource
class with DLEX file path and resource name as parameters.- Parameters:
dlexPath
- The dlex file path.resourceName
- The name of the resource.
-
DlexResource
Initializes a new instance of theDlexResource
class with DLEX file path as parameter.- Parameters:
dlexPath
- The dlex file path.
-
DlexResource
Initializes a new instance of theDlexResource
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 theDlexResource
class with byte data of the DLEX file as parameter.- Parameters:
value
- The byte array of the dlex file.
-
DlexResource
Initializes a new instance of theDlexResource
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
Initializes a new instance of theDlexResource
class with stream of the DLEX file as parameter.- Parameters:
data
- The stream of the dlex file.
-
-
Method Details
-
getLayoutDataResourceName
Gets the name for layout data resource.The name for layout data resource.
- Returns:
- layoutDataResourceName Gets the layout data resource.
-
setLayoutDataResourceName
Sets the name for layout data resource.- Parameters:
value
- The name for layout data resource.
-