-
barrysoft.web.WebDownloader.download()
Downloads data from a specified URL using the current HTTP method and user agent.
@param url The url location of the data as an URL object
@return The desired data as a byte array or null
if no URLwas specified.
@throws IllegalStateException if the URL has not been set before calling this method
@throws IOException
-
br.com.objectos.rio.HttpServer.download()
-
ca.canucksoftware.utils.OnlineFile.download()
-
com.aelitis.azureus.plugins.extseed.util.ExternalSeedHTTPDownloader.download()
-
com.aelitis.azureus.plugins.magnet.MagnetPlugin.download()
-
com.amazonaws.services.glacier.transfer.ArchiveTransferManager.download()
Downloads an archive from Amazon Glacier in the specified vault for the current user's account, and saves it to the specified file. Amazon Glacier is optimized for long term storage of data that isn't needed quickly. This method will first make a request to Amazon Glacier to prepare the archive to be downloaded. Once Glacier has finished preparing the archive to be downloaded, this method will start downloading the data and storing it in the specified file. Also, this method will download the archive in multiple chunks using range retrieval for better error recovery if any errors are encountered while streaming the data from Amazon Glacier.
@param vaultName The name of the vault to download the archive from.
@param archiveId The unique ID of the archive to download.
@param file The file in which to save the archive.
@throws AmazonServiceException If any problems were encountered while communicating with AWS.
@throws AmazonClientException If any problems were encountered inside the AWS SDK for Java client code in making requests or processing responses from AWS.
-
com.atlauncher.data.Downloadable.download()
-
com.dubture.getcomposer.packages.PharDownloader.download()
-
com.ettrema.httpclient.File.download()
-
com.firefun.util.FileUtil.download()
-
com.gargoylesoftware.htmlunit.WebClient.download()
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Perform the downloads and stores it for loading later into a window. In the future downloads should be performed in parallel in separated threads. TODO: refactor it before next release.
@param requestingWindow the window from which the request comes
@param target the name of the target window
@param requestSettings the request to perform
@param description information about the origin of the request. Useful for debugging.
-
com.github.axet.wget.Direct.download()
-
com.google.api.client.googleapis.media.MediaHttpDownloader.download()
Executes a direct media download or a resumable media download.
This method does not close the given output stream.
This method is not reentrant. A new instance of {@link MediaHttpDownloader} must beinstantiated before download called be called again.
@param requestUrl The request URL where the download requests will be sent
@param outputStream destination output stream
-
com.google.api.client.http.HttpResponse.download()
oogle.com/images/srpr/logo3w.png")); OutputStream outputStream = new FileOutputStream(new File("/tmp/logo3w.png")); try { HttpResponse response = request.execute(); response.download(outputStream); } finally { outputStream.close(); }
This method closes the content of the HTTP response from {@link #getContent()}.
This method does not close the given output stream.
@param outputStream destination output stream
@throws IOException I/O exception
@since 1.9
-
com.googlecode.flaxcrawler.download.DefaultDownloader.download()
Downloads web page. Returns {@code null} if Page cannot be downloaded due to constraints (contentType, maxContentLength)
@param url
@return
-
com.googlecode.flaxcrawler.download.Downloader.download()
Downloads specified page
@param url
@return
-
com.googlecode.flaxcrawler.download.LoginDownloader.download()
-
com.puppetlabs.geppetto.forge.v2.service.ReleaseService.download()
@param owner The Module owner.
@param name The name of the Module.
@param version The version of the module Release
@param output The stream that will receive the file content
@return The content of a particular release
@throws IOException
-
com.salas.bb.utils.net.Downloader.download()
Downloads file from location to target directory.
@param aLocation location to take file from.
@param aTargetDir target directory.
@return downloaded file.
@throws InterruptedException in case if downloading was interrupted.
@throws NullPointerException when no location or target directory specified.
@throws IOException if any I/O exception happens.
-
com.threerings.getdown.net.Downloader.download()
Start downloading the resources in this downloader.
@return true if the download completed or failed for unexpected reasons (in which case theobserver will have been notified), false if it was aborted by the observer.
-
com.threerings.getdown.net.HTTPDownloader.download()
-
cu.ftpd.user.statistics.StatisticsEntry.download()
-
edu.stanford.bmir.protege.web.client.download.ProjectRevisionDownloader.download()
Causes a new browser window to be opened which will download the specified project revision in the specified format.
-
fr.jayasoft.ivy.Ivy.download()
-
hudson.model.FullDuplexHttpChannel.download()
This is where we send the data to the client.
If this connection is lost, we'll abort the channel.
-
io.fabric8.agent.DeploymentBuilder.download()
-
io.fabric8.agent.download.DownloadManager.download()
-
it.sauronsoftware.ftp4j.FTPClient.download()
This method downloads a remote file from the server to a local file. Calling this method blocks the current thread until the operation is completed. The operation could be interrupted by another thread calling abortCurrentDataTransfer(). The method will break with a FTPAbortedException.
@param remoteFileName The name of the file to download.
@param localFile The local file.
@throws IllegalStateException If the client is not connected or not authenticated.
@throws FileNotFoundException If the supplied file cannot be found.
@throws IOException If an I/O error occurs.
@throws FTPIllegalReplyException If the server replies in an illegal way.
@throws FTPException If the operation fails.
@throws FTPDataTransferException If a I/O occurs in the data transfer connection. If you receive this exception the transfer failed, but the main connection with the remote FTP server is in theory still working.
@throws FTPAbortedException If operation is aborted by another thread.
@see FTPClient#abortCurrentDataTransfer(boolean)
-
net.chrislongo.hls.PlaylistDownloader.download()
-
net.schmizz.sshj.xfer.scp.SCPFileTransfer.download()
-
net.sf.jabref.external.DownloadExternalFile.download()
Start a download.
@param callback The object to which the filename should be reported when downloadis complete.
-
net.sf.jabref.net.URLDownload.download()
-
net.sf.jftp.net.FtpConnection.download()
Download a file or directory, block until finished.
@param file The file to download
@return An int returncode
-
net.sf.jftp.net.wrappers.SmbConnection.download()
-
org.apache.ivy.core.cache.RepositoryCacheManager.download()
Downloads an artifact to this cache.
@param artifact the artifact to download
@param resourceResolver a resource resolver to use if the artifact needs to be resolved to a Resource for downloading
@param resourceDownloader a resource downloader to use if actual download of the resource is needed
@param options a set of options to adjust the download
@return a report indicating how the download was performed
-
org.apache.ivy.plugins.resolver.DependencyResolver.download()
Download artifacts with specified DownloadOptions.
The resolver will always make a best effort, and do not stop when an artifact is not available. It rather continue to attempt to download other requested artifacts, and report what has been done in the returned DownloadReport.
The returned DownloadReport is never null
, and always contain an {@link ArtifactDownloadReport} for each requested Artifact.
@param artifacts an array of artifacts to download. Must not be
null
.
@param options options to apply for this download. Must not be
null
.
@return a DownloadReport with details about each Artifact download.
-
org.apache.ivy.plugins.resolver.packager.PackagerResolver.download()
-
org.apache.karaf.features.internal.download.Downloader.download()
-
org.apache.sshd.client.ScpClient.download()
-
org.earth3d.jearth.draw.tree.GeometryMapTree.download()
Downloads the referenced service to determine the geometry object.
-
org.earth3d.jearth.model.Service.download()
Downloads the referenced service to determine the geometry object.
-
org.elasticsearch.common.http.client.HttpDownloadHelper.download()
-
org.gudy.azureus2.plugins.torrent.TorrentDownloader.download()
Downloads and prompts the user/guesses the torrent encoding
@return
@throws TorrentException
-
org.gudy.azureus2.plugins.utils.resourcedownloader.ResourceDownloader.download()
Synchronously download. Events are still reported to listeners
@return
@throws ResourceDownloaderException
-
org.jampa.model.podcasts.Podcast.download()
-
org.jampa.net.podcast.PodcastUpdater.download()
-
org.jfx4ee.adm4ee.business.appcast.boundary.AppcastManager.download()
Download the file from the given URL to the specified target
@param appcast
@param targetDir
@return
@throws IOException
-
org.jitterbit.integration.filetransfer.client.download.FileDownloadManager.download()
-
org.mevenide.idea.repository.PomRepoManager.download()
-
org.moxie.Repository.download()
-
org.netbeans.modules.php.wordpress.commands.WordPressCli.download()
Run core download command. If you want to use specific language and version, add --locale=[locale], --version=[version] to options.
@param phpModule
@param options (--locale, --version)
-
org.openstreetmap.josm.actions.downloadtasks.AbstractDownloadTask.download()
-
org.openstreetmap.josm.actions.downloadtasks.DownloadGpsTask.download()
-
org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask.download()
-
org.openstreetmap.josm.actions.downloadtasks.DownloadTask.download()
T run this on the Swing EDT or JOSM will freeze future.get(); // waits for the dowload task to complete The following example uses a pattern which is better suited if a task is launched from the Swing EDT:
final Future<?> future = task.download(...); Runnable runAfterTask = new Runnable() { public void run() { // this is not strictly necessary because of the type of executor service // Main.worker is initialized with, but it doesn't harm either // future.get(); // wait for the download task to complete doSomethingAfterTheTaskCompleted(); } } Main.worker.submit(runAfterTask);
@param newLayer true, if the data is to be downloaded into a new layer. If false, the taskselects one of the existing layers as download layer, preferably the active layer.
@param downloadArea the area to download
@param progressMonitor the progressMonitor
@return the future representing the asynchronous task
-
org.rhq.enterprise.agent.AgentUpdateDownload.download()
Downloads the agent update binary and stores it to the local file system.
@throws Exception if agent has disabled updates or it failed to download the update
-
org.rioproject.impl.util.DownloadManager.download()
Performs software download for a Download
@return The DownloadRecord based onattributes from the downloaded software
@throws IOException if there are errors accessing the file system
-
org.sonatype.nexus.client.core.subsystem.content.Content.download()
-
org.syncany.plugins.transfer.TransactionAwareTransferManager.download()
-
org.syncany.plugins.transfer.TransferManager.download()
Download an existing remote file to the local disk.
The file is either downloaded completely or nothing at all. In the latter case, a {@code StorageException} is thrown.
Implementations must make sure that if a file matches the specified name schema, it must be complete and consistent.
If remoteFile does not exist, a {@link StorageFileNotFoundException} is thrown.
@param remoteFile Existing source file on the remote storage.The only required property of the remote file is the name.
@param localFile Not existing local file to which the remote file isgoing to be downloaded.
@throws StorageException If the connection fails due to no Internet connection,authentication errors, etc.
-
penny.download.Downloader.download()
-
uk.co.akademy.Downloader.Download.download()
-
unibg.overencrypt.client.ApacheWebDAVClient.download()
-
unibg.overencrypt.client.WebDAVClient.download()
Download a file with path webDAVFilePath to a local file system path.
@param remoteFilePath the WebDAV file path
@param localFilePath the local file system path