public class HttpFileRequester
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpFileRequester.Builder |
| Modifier and Type | Field and Description |
|---|---|
static int |
HEURISTIC_DEFAULT_LIFETIME |
| Modifier and Type | Method and Description |
|---|---|
void |
download(java.io.File outputFile,
java.util.List<org.apache.http.Header> headers)
Downloads the resource with the given URI to the specified local file system location.
|
public static final int HEURISTIC_DEFAULT_LIFETIME
public void download(java.io.File outputFile,
java.util.List<org.apache.http.Header> headers)
throws java.io.IOException
outputFile - the output fileheaders - list of headersjava.io.IOExceptionCopyright © 2009-2023 Open-Source. All Rights Reserved.