public class BinaryFileDownloader extends Object implements AutoCloseable
| Constructor and Description |
|---|
BinaryFileDownloader(com.squareup.okhttp.OkHttpClient client,
BinaryFileWriter writer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
download(String url,
Map<String,String> headers) |
public BinaryFileDownloader(com.squareup.okhttp.OkHttpClient client,
BinaryFileWriter writer)
public void download(String url, Map<String,String> headers) throws IOException
IOExceptionpublic void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2022 Perfana. All rights reserved.