cz.vity.freerapid.gui.managers
Class DownloadService
java.lang.Object
cz.vity.freerapid.gui.managers.DownloadService
class DownloadService
- extends Object
- Author:
- Vity
DownloadService
public DownloadService(PluginMetaData fileService,
ShareDownloadService service)
canDownloadWith
public boolean canDownloadWith(ConnectionSettings connectionSettings)
canDownloadBeforeCheck
public boolean canDownloadBeforeCheck(DownloadFile testFile,
List<DownloadFile> list,
boolean startFromTop)
addTestingFile
public void addTestingFile(DownloadFile file)
finishedTestingFile
public void finishedTestingFile(DownloadFile file)
addDownloadingClient
public void addDownloadingClient(HttpDownloadClient client)
addProblematicConnection
public void addProblematicConnection(ConnectionSettings settings)
removeProblematicConnection
public void removeProblematicConnection(ConnectionSettings settings)
finishedDownloading
public void finishedDownloading(HttpDownloadClient client)
getProblematicConnectionsCount
public int getProblematicConnectionsCount()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object