public class SymbolInstallerExecutionProvider extends AbstractProvider implements InstallPackageProvider
Modifier and Type | Class and Description |
---|---|
class |
SymbolInstallerExecutionProvider.InstallerSymbolsDirectoryNotFoundException |
Constructor and Description |
---|
SymbolInstallerExecutionProvider(ProviderServices providerServices,
java.io.File symbolsFolder) |
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) |
getProviderServices, setProviderServices
public SymbolInstallerExecutionProvider(ProviderServices providerServices, java.io.File symbolsFolder)
public void install(java.io.File applicationDirectory, java.io.InputStream inputStream, PackageInfo packageInfo) throws InstallPackageServiceException
InstallPackageProvider
install
in interface InstallPackageProvider
applicationDirectory
- the directory where gvSIG is located.inputStream
- the stream that contains the package information.InstallPackageServiceException
- if there is a problem reading the stream or installing the
package.public void installLater(java.io.File applicationDirectory, java.io.InputStream inputStream, PackageInfo packageInfo) throws InstallPackageServiceException, java.io.IOException
installLater
in interface InstallPackageProvider
InstallPackageServiceException
java.io.IOException