We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.server.frontend.installer.
Interface FileDownloader
All Known Implementing Classes:
public interface FileDownloader
Handle file download from given url to target destination.
Derived from eirslett/frontend-maven-plugin
For internal use only. May be renamed or removed in a future release.
Since:
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
download
void download(URI downloadTarget, File destination, String userName, String password, FileDownloader.ProgressListener progressListener) throws DownloadException Download to destination from url using username and password.
Parameters:
downloadTarget
- uri string from where to downloaddestination
- file target directoryuserName
- user name,null
acceptedpassword
- password,null
acceptedprogressListener
- a progres listener ornull
if no progress listener is neededThrows:
DownloadException
- exception thrown when download fails
-