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