Index

C D E F G J O P R S T V W 
All Classes and Interfaces|All Packages

C

CompleteDownloadHandler - Class in javadl.handler
Copyright (c) 12.01.2019 Developed by MrMarnic GitHub: https://github.com/MrMarnic
CompleteDownloadHandler(Downloader) - Constructor for class javadl.handler.CompleteDownloadHandler
 

D

Download - Class in javadl.model
 
Download() - Constructor for class javadl.model.Download
 
downloader - Variable in class javadl.handler.DownloadHandler
 
Downloader - Class in javadl
Main class where you must create downloads and manage them.
Downloader() - Constructor for class javadl.Downloader
 
downloadFileToLocation(String, File) - Method in class javadl.Downloader
This method downloads the file asynchronously, executing it in a ThreadPool.
downloadFileToLocation(String, String) - Method in class javadl.Downloader
This method downloads the file asynchronously, executing it in a ThreadPool.
downloadFileToLocation(String, Path) - Method in class javadl.Downloader
This method downloads the file asynchronously, executing it in a ThreadPool.
DownloadHandler - Class in javadl.handler
Copyright (c) 12.01.2019 Developed by MrMarnic GitHub: https://github.com/MrMarnic
DownloadHandler(Downloader) - Constructor for class javadl.handler.DownloadHandler
 
downloadObject(String) - Method in class javadl.Downloader
 
DownloadType - Enum in javadl.model
 

E

error(Download, Exception) - Method in class javadl.handler.CompleteDownloadHandler
 

F

FILE - Enum constant in enum javadl.model.DownloadType
 
finish(Download) - Method in class javadl.handler.CompleteDownloadHandler
 

G

getAsObject() - Method in class javadl.model.Download
 

J

javadl - package javadl
 
javadl.handler - package javadl.handler
 
javadl.model - package javadl.model
 
javadl.utils - package javadl.utils
 

O

OBJECT - Enum constant in enum javadl.model.DownloadType
 
onDownloadError(Download, Exception) - Method in class javadl.handler.CompleteDownloadHandler
 
onDownloadError(Download, Exception) - Method in class javadl.handler.DownloadHandler
 
onDownloadFinish(Download) - Method in class javadl.handler.CompleteDownloadHandler
 
onDownloadFinish(Download) - Method in class javadl.handler.DownloadHandler
 
onDownloadFinish(Download) - Method in class javadl.utils.StatusPrinter
 
onDownloadProgress(Download, int, int, int) - Method in class javadl.handler.CompleteDownloadHandler
 
onDownloadSpeedProgress(Download, int, int, int, int) - Method in class javadl.handler.CompleteDownloadHandler
 
onDownloadSpeedProgress(Download, int, int, int, int) - Method in class javadl.utils.StatusPrinter
 
onDownloadStart(Download) - Method in class javadl.handler.CompleteDownloadHandler
 
onDownloadStart(Download) - Method in class javadl.handler.DownloadHandler
 
onDownloadTickPerSec(Download, int) - Method in class javadl.handler.CompleteDownloadHandler
 

P

printer() - Method in class javadl.model.Download
Get StatusPrinter that will automatically print your download status to your console!

R

run() - Method in class javadl.model.Download
 

S

SizeUtil - Class in javadl.utils
Class to help you manipulate file sizes.
SizeUtil() - Constructor for class javadl.utils.SizeUtil
 
StatusPrinter - Class in javadl.utils
 
StatusPrinter(Download) - Constructor for class javadl.utils.StatusPrinter
 

T

toGBFB(int) - Static method in class javadl.utils.SizeUtil
Bytes to GB
toGBFKB(int) - Static method in class javadl.utils.SizeUtil
KB to GB
toGBFMB(int) - Static method in class javadl.utils.SizeUtil
MB to GB
toKBFB(int) - Static method in class javadl.utils.SizeUtil
Bytes to KB
toMBFB(int) - Static method in class javadl.utils.SizeUtil
Bytes to MB
toMBFKB(int) - Static method in class javadl.utils.SizeUtil
Kb to MB

V

valueOf(String) - Static method in enum javadl.model.DownloadType
Returns the enum constant of this type with the specified name.
values() - Static method in enum javadl.model.DownloadType
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitForDownloadFileToLocation(String, File) - Method in class javadl.Downloader
This method downloads a file in the same thread in which it was called, locking it during the process.
waitForDownloadFileToLocation(String, String) - Method in class javadl.Downloader
This method downloads a file in the same thread in which it was called, locking it during the process.
waitForDownloadFileToLocation(String, Path) - Method in class javadl.Downloader
This method downloads a file in the same thread in which it was called, locking it during the process.
C D E F G J O P R S T V W 
All Classes and Interfaces|All Packages