|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.common.http.client.HttpDownloadHelper
public class HttpDownloadHelper
Nested Class Summary | |
---|---|
static interface |
HttpDownloadHelper.DownloadProgress
Interface implemented for reporting progress of downloading. |
static class |
HttpDownloadHelper.NullProgress
do nothing with progress info |
static class |
HttpDownloadHelper.VerboseProgress
verbose progress system prints to some output stream |
Constructor Summary | |
---|---|
HttpDownloadHelper()
|
Method Summary | |
---|---|
boolean |
download(URL source,
File dest,
HttpDownloadHelper.DownloadProgress progress)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpDownloadHelper()
Method Detail |
---|
public boolean download(URL source, File dest, @Nullable HttpDownloadHelper.DownloadProgress progress) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |