Revision 33743 branches/v2_0_0_prep/extensions/org.gvsig.installer/org.gvsig.installer.lib/org.gvsig.installer.lib.api/src/main/java/org/gvsig/installer/lib/api/execution/InstallPackageService.java
InstallPackageService.java | ||
---|---|---|
28 | 28 |
package org.gvsig.installer.lib.api.execution; |
29 | 29 |
|
30 | 30 |
import java.io.File; |
31 |
import java.net.URI; |
|
32 | 31 |
|
33 | 32 |
import org.gvsig.installer.lib.api.InstallerManager; |
34 | 33 |
import org.gvsig.installer.lib.api.PackageInfo; |
... | ... | |
63 | 62 |
* @throws InstallPackageServiceException |
64 | 63 |
* it is thrown if there is an exception reading the URI. |
65 | 64 |
*/ |
66 |
public void addBundle(URI bundleURI) throws InstallPackageServiceException; |
|
65 |
public void addBundle(File bundleFile) |
|
66 |
throws InstallPackageServiceException; |
|
67 | 67 |
|
68 | 68 |
/** |
69 | 69 |
* In reads a directory and reads all the bundles. This method retrieve |
... | ... | |
84 | 84 |
* selected |
85 | 85 |
* package has to be contained in one of the bundles that has been |
86 | 86 |
* previously |
87 |
* added using the {@link #addBundle(URI)} or the
|
|
87 |
* added using the {@link #addBundle(File)} or the
|
|
88 | 88 |
* {@link #addBundlesFromDirectory(File)} method. |
89 | 89 |
* |
90 | 90 |
* @param applicationDirectory |
... | ... | |
103 | 103 |
* selected |
104 | 104 |
* package has to be contained in one of the bundles that has been |
105 | 105 |
* previously |
106 |
* added using the {@link #addBundle(URI)} or the
|
|
106 |
* added using the {@link #addBundle(File)} or the
|
|
107 | 107 |
* {@link #addBundlesFromDirectory(File)} method. |
108 | 108 |
* |
109 | 109 |
* @param applicationDirectory |
... | ... | |
121 | 121 |
* @return |
122 | 122 |
* the number of packages that has been loaded form one or more |
123 | 123 |
* bundles |
124 |
* using the {@link #addBundle(URI)} or the
|
|
124 |
* using the {@link #addBundle(File)} or the
|
|
125 | 125 |
* {@link #addBundlesFromDirectory(File)} method. |
126 | 126 |
*/ |
127 | 127 |
public int getPackageCount(); |
... | ... | |
129 | 129 |
/** |
130 | 130 |
* Return the package information for a concrete position. All |
131 | 131 |
* the packages has been loaded form one or more bundles |
132 |
* using the {@link #addBundle(URI)} or the
|
|
132 |
* using the {@link #addBundle(File)} or the
|
|
133 | 133 |
* {@link #addBundlesFromDirectory(File)} method. |
134 | 134 |
* |
135 | 135 |
* @param index |
... | ... | |
143 | 143 |
/** |
144 | 144 |
* Return the package information for a concrete position. All |
145 | 145 |
* the packages has been loaded form one or more bundles |
146 |
* using the {@link #addBundle(URI)} or the
|
|
146 |
* using the {@link #addBundle(File)} or the
|
|
147 | 147 |
* {@link #addBundlesFromDirectory(File)} method. |
148 | 148 |
* |
149 | 149 |
* @param packageCode |
Also available in: Unified diff