public static interface FileDownloadHelper.ConnectionCreator
| Modifier and Type | Method and Description |
|---|---|
FileDownloadConnection |
create(String url)
The connection creator is used for creating
FileDownloadConnection component
which is used to use some protocol to connect to the remote server. |
FileDownloadConnection create(String url) throws IOException
FileDownloadConnection component
which is used to use some protocol to connect to the remote server.url - the uniform resource locator, which direct the aim resource we need to connectIOException - if an I/O exception occurs.