|
Oracle® On Track Communication SDK Documentation Release 1(1.0) E20955-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
waggle.core.http.XHTTPDownload
public final class XHTTPDownload
Method Summary | |
---|---|
static File |
downloadToFile(URL url, File file) Download the specified URL to a file. |
static InputStream |
downloadToInputStream(URL url) Download the specified URL to a InputStream. |
static String |
downloadToString(URL url) Download the specified URL to a String. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static InputStream downloadToInputStream(URL url)
url
- The URL to download.public static File downloadToFile(URL url, File file)
url
- The URL to download.file
- The file.public static String downloadToString(URL url)
url
- The URL to download.
|
Oracle® On Track Communication SDK Documentation Release 1(1.0) E20955-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |