Package org.teamapps.media.video
Class VideoDownloader
java.lang.Object
org.teamapps.media.video.VideoDownloader
public class VideoDownloader
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description VideoDownloader()VideoDownloader(java.util.concurrent.Executor executor) -
Method Summary
Modifier and Type Method Description java.util.concurrent.CompletableFuture<java.io.File>downloadVideo(java.lang.String url, int timeoutSeconds)java.util.concurrent.CompletableFuture<java.io.File>downloadVideo(java.lang.String url, java.lang.String proxyHost, int proxyPort, int timeoutSeconds)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
VideoDownloader
public VideoDownloader() -
VideoDownloader
public VideoDownloader(java.util.concurrent.Executor executor)
-
-
Method Details
-
downloadVideo
public java.util.concurrent.CompletableFuture<java.io.File> downloadVideo(java.lang.String url, int timeoutSeconds) -
downloadVideo
public java.util.concurrent.CompletableFuture<java.io.File> downloadVideo(java.lang.String url, java.lang.String proxyHost, int proxyPort, int timeoutSeconds)
-