com.izforge.izpack.installer.web
Class WebRepositoryAccessor
java.lang.Object
com.izforge.izpack.installer.web.WebRepositoryAccessor
public class WebRepositoryAccessor
- extends Object
This class enumerates the availabe packs at the web repository. Parses the config files
- install.xml, packsinfo.xml, langpacks and is used to override the static configuration
in the installer jar.
- Version:
- $Revision: 1.1 $
- Author:
- Vladimir Ralev
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebRepositoryAccessor
public WebRepositoryAccessor()
getCachedUrl
public static String getCachedUrl(String url,
String tempFolder)
throws IOException
- First download the jar file. The create the input stream from the
downloaded file. This is because the Jar connection's openInputStream
will blocks until the whole jar in order to unzip it (there is no way
to see the download progress there).
- Parameters:
url - the base URL
- Returns:
- the url
- Throws:
IOException
Copyright © 2018. All rights reserved.