Class DownloadManagerMoveHandler
java.lang.Object
com.biglybt.core.download.impl.DownloadManagerMoveHandlerUtils
com.biglybt.core.download.impl.DownloadManagerMoveHandler
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidaddFile(ArrayList l, SaveLocationChange slc) private static voidprivate static voidstatic booleanstatic File[]Find all file locations that a download might exist in - this is used to see locate existing files to reuse to prevent downloads being re-added.private static booleanstatic booleanstatic booleanstatic SaveLocationChangeonCompletion(DownloadManager dm, DownloadManagerMoveHandler.MoveCallback callback, boolean startOfDay) static SaveLocationChangestatic SaveLocationChangestatic SaveLocationChangeMethods inherited from class DownloadManagerMoveHandlerUtils
describe, logError, logInfo, logWarn
-
Field Details
-
CURRENT_HANDLER
-
-
Constructor Details
-
DownloadManagerMoveHandler
public DownloadManagerMoveHandler()
-
-
Method Details
-
isApplicableDownload
-
onInitialisation
-
onRemoval
-
onCompletion
public static SaveLocationChange onCompletion(DownloadManager dm, DownloadManagerMoveHandler.MoveCallback callback, boolean startOfDay) -
canGoToCompleteDir
-
isOnCompleteEnabled
public static boolean isOnCompleteEnabled() -
isOnRemovalEnabled
public static boolean isOnRemovalEnabled() -
recalculatePath
-
getRelatedDirs
Find all file locations that a download might exist in - this is used to see locate existing files to reuse to prevent downloads being re-added. -
addFile
-
addFile
-
addFile
-