public class Decompress extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Decompress.InstallerPluginReadErrorException |
class |
Decompress.InstallerPluginReadException |
| Constructor and Description |
|---|
Decompress() |
| Modifier and Type | Method and Description |
|---|---|
void |
decompressPlugin(InputStream is,
File outputDirectory) |
void |
decompressPlugins(InputStream is,
File outputDirectory) |
boolean |
delete(File dir) |
List<String> |
getDefaultSelectedPackages() |
void |
installFromStream(InputStream is,
List<PackageInfo> installerInfos) |
void |
installFromStream(InputStream is,
PackageInfo installerInfo) |
PackageInfo |
readInstallerInfo(InputStream is) |
void |
readPackageInstallInfo(InputStream is,
List<PackageInfo> installerInfos,
Map<PackageInfo,String> zipEntriesMap,
String name) |
void |
readPackageSetInstallInfos(InputStream is,
List<PackageInfo> installerInfos,
Map<PackageInfo,String> zipEntriesMap) |
InputStream |
searchPlugin(InputStream is,
String zipEntry) |
public void decompressPlugins(InputStream is, File outputDirectory) throws InstallPackageServiceException
InstallPackageServiceExceptionpublic void readPackageSetInstallInfos(InputStream is, List<PackageInfo> installerInfos, Map<PackageInfo,String> zipEntriesMap) throws InstallPackageServiceException
InstallPackageServiceExceptionpublic void readPackageInstallInfo(InputStream is, List<PackageInfo> installerInfos, Map<PackageInfo,String> zipEntriesMap, String name) throws InstallPackageServiceException
InstallPackageServiceExceptionpublic void decompressPlugin(InputStream is, File outputDirectory) throws InstallPackageServiceException
InstallPackageServiceExceptionpublic InputStream searchPlugin(InputStream is, String zipEntry) throws InstallPackageServiceException
InstallPackageServiceExceptionpublic void installFromStream(InputStream is, PackageInfo installerInfo) throws InstallPackageServiceException
InstallPackageServiceExceptionpublic void installFromStream(InputStream is, List<PackageInfo> installerInfos) throws InstallPackageServiceException
InstallPackageServiceExceptionpublic boolean delete(File dir)
public PackageInfo readInstallerInfo(InputStream is) throws InstallerInfoFileException
InstallerInfoFileException