|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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(java.net.URL source,
java.io.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(java.net.URL source, java.io.File dest, @Nullable HttpDownloadHelper.DownloadProgress progress) throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |