public class Downloader extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
BUFFER_LENGTH |
static int |
CONNECTION_TIMEOUT |
static int |
DEFAULT_CONTENT_LENGTH |
static int |
READ_COUNT_MULTIPLIER |
static int |
READ_TIMEOUT |
| Modifier and Type | Method and Description |
|---|---|
static File |
download(IDownloadConfig runtime,
Distribution distribution) |
static String |
getDownloadUrl(IDownloadConfig runtime,
Distribution distribution) |
public static final int CONNECTION_TIMEOUT
public static final int READ_TIMEOUT
public static final int DEFAULT_CONTENT_LENGTH
public static final int BUFFER_LENGTH
public static final int READ_COUNT_MULTIPLIER
public static String getDownloadUrl(IDownloadConfig runtime, Distribution distribution)
public static File download(IDownloadConfig runtime, Distribution distribution) throws IOException
IOExceptionCopyright © 2013. All Rights Reserved.