Revision 34003 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

View differences:

InstallPackageProviderServices.java
160 160
     * 
161 161
     * @param fileURL
162 162
     *            to download the file from
163
     * @param defaultFileName
164
     *            default name for the file. If the URL ends with / the file
165
     *            name will be appended to the URL. If null it will be ignored
163 166
     * @return the temporal downloaded file
164 167
     * @throws IOException
165 168
     *             if there is an error downloading the file
166 169
     */
167
    public File downloadFile(URL fileURL) throws IOException;
170
    public File downloadFile(URL fileURL, String defaultFileName)
171
        throws IOException;
168 172
}

Also available in: Unified diff