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(java.io.File applicationDirectory,
java.io.InputStream inputStream,
PackageInfo packageInfo)
This method install a package in a valid gvSIG directory.
|
void |
installLater(java.io.File applicationDirectory,
java.io.InputStream inputStream,
PackageInfo packageInfo) |
void install(java.io.File applicationDirectory,
java.io.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(java.io.File applicationDirectory,
java.io.InputStream inputStream,
PackageInfo packageInfo)
throws InstallPackageServiceException,
java.io.IOException
InstallPackageServiceExceptionjava.io.IOException