|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.exponto.jstock.util.Util
Constructor Summary | |
Util()
|
Method Summary | |
static void |
downloadURL(java.net.URL url,
java.io.File file)
Downloads the content of an URL and saves it to a file. |
static java.net.URL |
URLCreator(java.lang.String rawURL,
java.util.HashMap substituteMap)
Creates a URL from a string and a hashmap with a substition table. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Util()
Method Detail |
public static java.net.URL URLCreator(java.lang.String rawURL, java.util.HashMap substituteMap)
rawURL
- a URL that may includes fields that shall be replacedsubstituteMap
- a replacement HashMap
public static void downloadURL(java.net.URL url, java.io.File file)
url
- the URL to downloadfile
- to save to
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |