DataPackage Class
- java.
lang. Object - system.
fabric. DataPackage
- system.
public class DataPackage
Defines a data package of an application.
Constructor Summary
Constructor | Description |
---|---|
DataPackage(DataPackageDescription description, String path) |
Creates an instance of system.fabric.DataPackage for given DataPackageDescription and path. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Data |
getDescription()
Gets the PackageDescription object associated with the system.fabric.DataPackage. |
String |
getPath()
Gets the local path of system.fabric.DataPackage. |
Constructor Details
DataPackage
public DataPackage(DataPackageDescription description, String path)
Creates an instance of system.fabric.DataPackage for given DataPackageDescription and path.
Parameters:
description
- the PackageDescription of the data package.
path
- path of the system.fabric.DataPackage
Method Details
getDescription
public DataPackageDescription getDescription()
Gets the PackageDescription object associated with the system.fabric.DataPackage.
Returns:
the PackageDescription object associated with the system.fabric.DataPackage.
getPath
public String getPath()
Gets the local path of system.fabric.DataPackage.
Returns:
the local path of system.fabric.DataPackage.