Package com.biglybt.core.download.impl
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 void
addFile
(ArrayList l, SaveLocationChange slc) private static void
private static void
static boolean
static 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 boolean
static boolean
static boolean
static SaveLocationChange
onCompletion
(DownloadManager dm, DownloadManagerMoveHandler.MoveCallback callback, boolean startOfDay) static SaveLocationChange
static SaveLocationChange
static SaveLocationChange
Methods inherited from class com.biglybt.core.download.impl.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
-