Revision 33982 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/InstallPackageProviderServices.java
InstallPackageProviderServices.java | ||
---|---|---|
28 | 28 |
package org.gvsig.installer.lib.spi; |
29 | 29 |
|
30 | 30 |
import java.io.File; |
31 |
import java.io.IOException; |
|
31 | 32 |
import java.io.InputStream; |
32 | 33 |
import java.io.OutputStream; |
34 |
import java.net.URL; |
|
33 | 35 |
import java.util.List; |
34 | 36 |
import java.util.Map; |
35 | 37 |
|
... | ... | |
152 | 154 |
*/ |
153 | 155 |
public PackageInfo readCompressedPackageInfo(InputStream is) |
154 | 156 |
throws InstallPackageServiceException; |
157 |
|
|
158 |
/** |
|
159 |
* Downloads a temporal file from the given {@link URL}. |
|
160 |
* |
|
161 |
* @param fileURL |
|
162 |
* to download the file from |
|
163 |
* @return the temporal downloaded file |
|
164 |
* @throws IOException |
|
165 |
* if there is an error downloading the file |
|
166 |
*/ |
|
167 |
public File downloadFile(URL fileURL) throws IOException; |
|
155 | 168 |
} |
Also available in: Unified diff