Revision 32500 branches/v2_0_0_prep/extensions/org.gvsig.installer/org.gvsig.installer.lib/org.gvsig.installer.lib.spi/src/main/java/org/gvsig/installer/lib/spi/InstallerProviderServices.java
InstallerProviderServices.java | ||
---|---|---|
30 | 30 |
import java.io.File; |
31 | 31 |
import java.io.InputStream; |
32 | 32 |
import java.io.OutputStream; |
33 |
import java.util.List; |
|
34 |
import java.util.Map; |
|
33 | 35 |
|
34 | 36 |
import org.gvsig.installer.lib.api.InstallerInfo; |
35 | 37 |
import org.gvsig.installer.lib.api.creation.InstallerCreationServiceException; |
... | ... | |
83 | 85 |
public void readInstallInfo(File directory, InstallerInfo installerInfo) throws InstallerInfoFileException; |
84 | 86 |
|
85 | 87 |
/** |
88 |
* It reads an installer and parses all the install.info files. |
|
89 |
* @param is |
|
90 |
* The installer. |
|
91 |
* @param installerInfos |
|
92 |
* A list of the information of the plugins to install. |
|
93 |
* @param zipEntriesMap |
|
94 |
* A map to retrieve the zipEntry name for each plugin. This information is necessary to |
|
95 |
* select the plugin to decompress. |
|
96 |
* @throws InstallerExecutionServiceException |
|
97 |
* If there is a problem reading the installer. |
|
98 |
*/ |
|
99 |
public void readInstallInfo(InputStream is, List<InstallerInfo> installerInfos, Map<InstallerInfo, String> zipEntriesMap) throws InstallerExecutionServiceException; |
|
100 |
|
|
101 |
/** |
|
86 | 102 |
* Writes the install.info file in a concrete directory. |
87 | 103 |
* @param directory |
88 | 104 |
* The directory. |
Also available in: Unified diff