public interface InstallPackageProvider
Provider that manage the installation process of a concrete package. There is a different provider for each package type that is supported. The provider just have a method to install the package in gvSIG
Modifier and Type | Method and Description |
---|---|
void |
install(File applicationDirectory,
InputStream inputStream,
PackageInfo packageInfo)
This method install a package in a valid gvSIG directory.
|
void |
installLater(File applicationDirectory,
InputStream inputStream,
PackageInfo packageInfo) |
void install(File applicationDirectory, InputStream inputStream, PackageInfo packageInfo) throws InstallPackageServiceException
applicationDirectory
- the directory where gvSIG is located.inputStream
- the stream that contains the package information.taskStatus
- InstallPackageServiceException
- if there is a problem reading the stream or installing the
package.void installLater(File applicationDirectory, InputStream inputStream, PackageInfo packageInfo) throws InstallPackageServiceException, IOException