Skip navigation links
A B C D E F G H I K L M N O P R S T U V W 

A

ACTION_COMPLETED - Static variable in class com.liulishuo.filedownloader.services.FileDownloadBroadcastHandler
 
add(String, String) - Method in class com.liulishuo.filedownloader.model.FileDownloadHeader
We have already handled etag, and will add 'If-Match' & 'Range' value if it works.
add(String) - Method in class com.liulishuo.filedownloader.model.FileDownloadHeader
We have already handled etag, and will add 'If-Match' & 'Range' value if it works.
add(T) - Method in class com.liulishuo.filedownloader.notification.FileDownloadNotificationHelper
addFinishListener(BaseDownloadTask.FinishListener) - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
Add the finish listener to listen when the task is finished.
addFinishListener(BaseDownloadTask.FinishListener) - Method in class com.liulishuo.filedownloader.DownloadTask
 
addHeader(String, String) - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
Add the params to the request header.
addHeader(String) - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
Add a field with the specified value to the request header.
addHeader(String, String) - Method in interface com.liulishuo.filedownloader.connection.FileDownloadConnection
Sets the header named name to value.
addHeader(String, String) - Method in class com.liulishuo.filedownloader.connection.FileDownloadUrlConnection
 
addHeader(String, String) - Method in class com.liulishuo.filedownloader.DownloadTask
 
addHeader(String) - Method in class com.liulishuo.filedownloader.DownloadTask
 
addListener(String, IDownloadListener) - Method in class com.liulishuo.filedownloader.event.DownloadEventPoolImpl
 
addNotificationItem(int) - Method in class com.liulishuo.filedownloader.notification.FileDownloadNotificationListener
 
addNotificationItem(BaseDownloadTask) - Method in class com.liulishuo.filedownloader.notification.FileDownloadNotificationListener
 
addServiceConnectListener(FileDownloadConnectListener) - Method in class com.liulishuo.filedownloader.FileDownloader
Add the listener for listening when the status of connection with the downloader service is changed.
addTaskFinishListener(BaseDownloadTask.FinishListener) - Method in class com.liulishuo.filedownloader.FileDownloadQueueSet
 
asInQueueTask() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
Declare the task will be assembled by a queue which makes up of the same listener task.
asInQueueTask() - Method in class com.liulishuo.filedownloader.DownloadTask
 
asInterface(IBinder) - Method in class com.liulishuo.filedownloader.services.BaseFileServiceUIGuard
 
asyncPublishInNewThread(IDownloadEvent) - Method in class com.liulishuo.filedownloader.event.DownloadEventPoolImpl
 

B

BaseDownloadTask - Interface in com.liulishuo.filedownloader
An atom download task.
BaseDownloadTask.FinishListener - Interface in com.liulishuo.filedownloader
 
BaseDownloadTask.InQueueTask - Interface in com.liulishuo.filedownloader
Declare the task will be assembled by a queue which makes up of the same listener task.
BaseDownloadTask.IRunningTask - Interface in com.liulishuo.filedownloader
The running task.
BaseDownloadTask.LifeCycleCallback - Interface in com.liulishuo.filedownloader
The callback for the life cycle of the task.
BaseFileServiceUIGuard<CALLBACK extends Binder,INTERFACE extends IInterface> - Class in com.liulishuo.filedownloader.services
A UI-Guard in Main-Process for IPC, which is the only Object can access the other process in Main-Process with Binder.
BaseFileServiceUIGuard(Class<?>) - Constructor for class com.liulishuo.filedownloader.services.BaseFileServiceUIGuard
 
BaseNotificationItem - Class in com.liulishuo.filedownloader.notification
An atom notification item which identify with a downloading task, they have the same downloading Id.
BaseNotificationItem(int, String, String) - Constructor for class com.liulishuo.filedownloader.notification.BaseNotificationItem
 
bindService() - Method in class com.liulishuo.filedownloader.FileDownloader
Start and bind the FileDownloader service.
bindService(Runnable) - Method in class com.liulishuo.filedownloader.FileDownloader
Start and bind the FileDownloader service and run runnable as soon as the binding is successful.
bindStartByContext(Context) - Method in class com.liulishuo.filedownloader.FileDownloadServiceProxy
 
bindStartByContext(Context, Runnable) - Method in class com.liulishuo.filedownloader.FileDownloadServiceProxy
 
bindStartByContext(Context) - Method in interface com.liulishuo.filedownloader.IFileDownloadServiceProxy
 
bindStartByContext(Context, Runnable) - Method in interface com.liulishuo.filedownloader.IFileDownloadServiceProxy
 
bindStartByContext(Context) - Method in class com.liulishuo.filedownloader.services.BaseFileServiceUIGuard
 
bindStartByContext(Context, Runnable) - Method in class com.liulishuo.filedownloader.services.BaseFileServiceUIGuard
 
blockComplete(BaseDownloadTask) - Method in class com.liulishuo.filedownloader.FileDownloadListener
Unlike other methods in FileDownloadListener.FileDownloadListener(int), BlockComplete is executed in other thread than main as default, when you receive this execution, it means has already completed downloading, but just block the execution of FileDownloadListener.completed(BaseDownloadTask).
blockComplete(BaseDownloadTask) - Method in class com.liulishuo.filedownloader.FileDownloadSampleListener
 
blockComplete - Static variable in class com.liulishuo.filedownloader.model.FileDownloadStatus
When the task on blockComplete status, it means that the task has been completed downloading successfully.
blockComplete(BaseDownloadTask) - Method in class com.liulishuo.filedownloader.notification.FileDownloadNotificationListener
 
BlockCompleteMessage - Interface in com.liulishuo.filedownloader.message
The interface of block complete message.
BlockCompleteMessage.BlockCompleteMessageImpl - Class in com.liulishuo.filedownloader.message
 
BlockCompleteMessageImpl(MessageSnapshot) - Constructor for class com.liulishuo.filedownloader.message.BlockCompleteMessage.BlockCompleteMessageImpl
 
broadcastCompleted - Variable in class com.liulishuo.filedownloader.util.FileDownloadProperties
 
build() - Method in class com.liulishuo.filedownloader.download.DownloadLaunchRunnable.Builder
 
build() - Method in class com.liulishuo.filedownloader.download.DownloadRunnable.Builder
 
build() - Method in class com.liulishuo.filedownloader.download.FetchDataTask.Builder
 
build() - Method in class com.liulishuo.filedownloader.services.ForegroundServiceConfig.Builder
 
buildBeginToEndConnectionProfile(long) - Static method in class com.liulishuo.filedownloader.download.ConnectionProfile.ConnectionProfileBuild
 
buildConnectionProfile(long, long, long, long) - Static method in class com.liulishuo.filedownloader.download.ConnectionProfile.ConnectionProfileBuild
 
Builder() - Constructor for class com.liulishuo.filedownloader.download.DownloadLaunchRunnable.Builder
 
Builder() - Constructor for class com.liulishuo.filedownloader.download.DownloadRunnable.Builder
 
Builder() - Constructor for class com.liulishuo.filedownloader.download.FetchDataTask.Builder
 
Builder() - Constructor for class com.liulishuo.filedownloader.services.ForegroundServiceConfig.Builder
 
buildToEndConnectionProfile(long, long, long) - Static method in class com.liulishuo.filedownloader.download.ConnectionProfile.ConnectionProfileBuild
 
buildTrialConnectionProfile() - Static method in class com.liulishuo.filedownloader.download.ConnectionProfile.ConnectionProfileBuild
 
buildTrialConnectionProfileNoRange() - Static method in class com.liulishuo.filedownloader.download.ConnectionProfile.ConnectionProfileBuild
 

C

callback(IDownloadEvent) - Method in class com.liulishuo.filedownloader.event.DownloadEventSampleListener
 
callback(IDownloadEvent) - Method in interface com.liulishuo.filedownloader.event.DownloadEventSampleListener.IEventListener
 
callback - Variable in class com.liulishuo.filedownloader.event.IDownloadEvent
 
callback(IDownloadEvent) - Method in class com.liulishuo.filedownloader.event.IDownloadListener
 
callback(IDownloadEvent) - Method in class com.liulishuo.filedownloader.FileDownloadConnectListener
 
cancel() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
Deprecated.
cancel() - Method in class com.liulishuo.filedownloader.DownloadTask
 
cancel() - Method in class com.liulishuo.filedownloader.notification.BaseNotificationItem
 
cancel(int) - Method in class com.liulishuo.filedownloader.notification.FileDownloadNotificationHelper
Cancel the notification by notification id.
catchCanReusedOldFile(int, File, boolean) - Static method in class com.liulishuo.filedownloader.message.MessageSnapshotTaker
 
catchException(int, long, Throwable) - Static method in class com.liulishuo.filedownloader.message.MessageSnapshotTaker
 
catchPause(BaseDownloadTask) - Static method in class com.liulishuo.filedownloader.message.MessageSnapshotTaker
 
catchWarn(int, long, long, boolean) - Static method in class com.liulishuo.filedownloader.message.MessageSnapshotTaker
 
changeFileDownloadModelId(int, FileDownloadModel) - Method in interface com.liulishuo.filedownloader.database.FileDownloadDatabase.Maintainer
invoke this method when the FileDownloadModel.id is changed because of the different FileDownloadHelper.IdGenerator, which generate the new id for the task.
changeFileDownloadModelId(int, FileDownloadModel) - Method in class com.liulishuo.filedownloader.database.SqliteDatabaseImpl.Maintainer
 
checkDownloading(String, String) - Method in class com.liulishuo.filedownloader.services.FDServiceSeparateHandler
 
checkDownloading(String, String) - Method in class com.liulishuo.filedownloader.services.FDServiceSharedHandler
 
checkPermission(String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
clear() - Method in interface com.liulishuo.filedownloader.database.FileDownloadDatabase
Clear all models in this database.
clear() - Method in class com.liulishuo.filedownloader.database.NoDatabaseImpl
 
clear() - Method in class com.liulishuo.filedownloader.database.RemitDatabase
 
clear() - Method in class com.liulishuo.filedownloader.database.SqliteDatabaseImpl
 
clear(int, String) - Method in class com.liulishuo.filedownloader.FileDownloader
Clear the data with the provided id.
clear() - Method in class com.liulishuo.filedownloader.notification.FileDownloadNotificationHelper
Clear and cancel all notifications which inside this helper FileDownloadNotificationHelper.notificationArray.
clearAllTaskData() - Method in class com.liulishuo.filedownloader.FileDownloader
Clear all data in the filedownloader database.
clearAllTaskData() - Method in class com.liulishuo.filedownloader.FileDownloadServiceProxy
 
clearAllTaskData() - Method in interface com.liulishuo.filedownloader.IFileDownloadServiceProxy
 
clearAllTaskData() - Method in class com.liulishuo.filedownloader.services.FDServiceSeparateHandler
 
clearAllTaskData() - Method in class com.liulishuo.filedownloader.services.FDServiceSharedHandler
 
clearAllTaskData() - Static method in class com.liulishuo.filedownloader.util.DownloadServiceNotConnectedHelper
 
clearTaskData(int) - Method in class com.liulishuo.filedownloader.FileDownloadServiceProxy
 
clearTaskData(int) - Method in interface com.liulishuo.filedownloader.IFileDownloadServiceProxy
 
clearTaskData(int) - Method in class com.liulishuo.filedownloader.services.FDServiceSeparateHandler
 
clearTaskData(int) - Method in class com.liulishuo.filedownloader.services.FDServiceSharedHandler
 
clearTaskData(int) - Static method in class com.liulishuo.filedownloader.util.DownloadServiceNotConnectedHelper
 
close() - Method in interface com.liulishuo.filedownloader.stream.FileDownloadOutputStream
Closes this output stream and releases any system resources associated with this stream.
close() - Method in class com.liulishuo.filedownloader.stream.FileDownloadRandomAccessFile
 
com.liulishuo.filedownloader - package com.liulishuo.filedownloader
 
com.liulishuo.filedownloader.connection - package com.liulishuo.filedownloader.connection
 
com.liulishuo.filedownloader.database - package com.liulishuo.filedownloader.database
 
com.liulishuo.filedownloader.download - package com.liulishuo.filedownloader.download
 
com.liulishuo.filedownloader.event - package com.liulishuo.filedownloader.event
 
com.liulishuo.filedownloader.exception - package com.liulishuo.filedownloader.exception
 
com.liulishuo.filedownloader.message - package com.liulishuo.filedownloader.message
 
com.liulishuo.filedownloader.model - package com.liulishuo.filedownloader.model
 
com.liulishuo.filedownloader.notification - package com.liulishuo.filedownloader.notification
 
com.liulishuo.filedownloader.services - package com.liulishuo.filedownloader.services
 
com.liulishuo.filedownloader.stream - package com.liulishuo.filedownloader.stream
 
com.liulishuo.filedownloader.util - package com.liulishuo.filedownloader.util
 
commit() - Method in class com.liulishuo.filedownloader.services.DownloadMgrInitialParams.InitCustomMaker
 
completed(BaseDownloadTask) - Method in class com.liulishuo.filedownloader.FileDownloadListener
Achieve complete ceremony.
completed(BaseDownloadTask) - Method in class com.liulishuo.filedownloader.FileDownloadSampleListener
 
completed - Static variable in class com.liulishuo.filedownloader.model.FileDownloadStatus
When the task on completed status, it means that the task is completed downloading successfully.
completed(BaseDownloadTask) - Method in class com.liulishuo.filedownloader.notification.FileDownloadNotificationListener
 
Configuration() - Constructor for class com.liulishuo.filedownloader.connection.FileDownloadUrlConnection.Configuration
 
connected() - Method in class com.liulishuo.filedownloader.FileDownloadConnectListener
connected file download service
connected(BaseDownloadTask, String, boolean, long, long) - Method in class com.liulishuo.filedownloader.FileDownloadLargeFileListener
Connected
connected(BaseDownloadTask, String, boolean, int, int) - Method in class com.liulishuo.filedownloader.FileDownloadLargeFileListener
connected(BaseDownloadTask, String, boolean, int, int) - Method in class com.liulishuo.filedownloader.FileDownloadListener
Already connected to the server, and received the Http-response.
connected() - Method in class com.liulishuo.filedownloader.LostServiceConnectedHandler
 
connected - Static variable in class com.liulishuo.filedownloader.model.FileDownloadStatus
When the task on connected status, it means that the task is successfully connected to the back-end.
CONNECTION_COUNT - Static variable in class com.liulishuo.filedownloader.model.FileDownloadModel
 
CONNECTION_TABLE_NAME - Static variable in class com.liulishuo.filedownloader.database.SqliteDatabaseImpl
 
connectionCountAdapter(FileDownloadHelper.ConnectionCountAdapter) - Method in class com.liulishuo.filedownloader.services.DownloadMgrInitialParams.InitCustomMaker
customize the connection count adapter.
connectionCreator(FileDownloadHelper.ConnectionCreator) - Method in class com.liulishuo.filedownloader.services.DownloadMgrInitialParams.InitCustomMaker
Customize the connection component.
ConnectionModel - Class in com.liulishuo.filedownloader.model
The connection model used for record each connections on multiple connections case.
ConnectionModel() - Constructor for class com.liulishuo.filedownloader.model.ConnectionModel
 
ConnectionProfile - Class in com.liulishuo.filedownloader.download
The connection profile for ConnectTask.
ConnectionProfile.ConnectionProfileBuild - Class in com.liulishuo.filedownloader.download
 
ConnectionProfileBuild() - Constructor for class com.liulishuo.filedownloader.download.ConnectionProfile.ConnectionProfileBuild
 
ConnectTask - Class in com.liulishuo.filedownloader.download
The connect task which used for connect to the backend.
connectTimeout(int) - Method in class com.liulishuo.filedownloader.connection.FileDownloadUrlConnection.Configuration
Sets a specified timeout value, in milliseconds, to be used when opening a communications link to the resource referenced by this URLConnection.
contain(int) - Method in interface com.liulishuo.filedownloader.IQueuesHandler
 
contains(int) - Method in class com.liulishuo.filedownloader.notification.FileDownloadNotificationHelper
 
convertContentLengthString(String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
convertHeaderString(String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
create(String) - Method in class com.liulishuo.filedownloader.connection.FileDownloadUrlConnection.Creator
 
create(String) - Method in class com.liulishuo.filedownloader.FileDownloader
Create a download task.
create(BaseDownloadTask) - Method in class com.liulishuo.filedownloader.notification.FileDownloadNotificationListener
 
create(File) - Method in class com.liulishuo.filedownloader.stream.FileDownloadRandomAccessFile.Creator
 
create(String) - Method in interface com.liulishuo.filedownloader.util.FileDownloadHelper.ConnectionCreator
The connection creator is used for creating FileDownloadConnection component which is used to use some protocol to connect to the remote server.
create(File) - Method in interface com.liulishuo.filedownloader.util.FileDownloadHelper.OutputStreamCreator
The output stream creator is used for creating FileDownloadOutputStream which is used to write the input stream to the file for downloading.
createCallback() - Method in class com.liulishuo.filedownloader.services.BaseFileServiceUIGuard
 
createConnection(String) - Method in class com.liulishuo.filedownloader.download.CustomComponentHolder
 
createConnectionCountAdapter() - Method in class com.liulishuo.filedownloader.services.DownloadMgrInitialParams
 
createConnectionCreator() - Method in class com.liulishuo.filedownloader.services.DownloadMgrInitialParams
 
createDatabase() - Method in class com.liulishuo.filedownloader.services.DownloadMgrInitialParams
 
createForegroundServiceConfig() - Method in class com.liulishuo.filedownloader.services.DownloadMgrInitialParams
 
createIdGenerator() - Method in class com.liulishuo.filedownloader.services.DownloadMgrInitialParams
 
createMaker() - Static method in class com.liulishuo.filedownloader.database.NoDatabaseImpl
 
createMaker() - Static method in class com.liulishuo.filedownloader.database.SqliteDatabaseImpl
 
createOutputStream(File) - Method in class com.liulishuo.filedownloader.download.CustomComponentHolder
 
createOutputStream(String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
createOutputStreamCreator() - Method in class com.liulishuo.filedownloader.services.DownloadMgrInitialParams
 
Creator() - Constructor for class com.liulishuo.filedownloader.connection.FileDownloadUrlConnection.Creator
 
Creator(FileDownloadUrlConnection.Configuration) - Constructor for class com.liulishuo.filedownloader.connection.FileDownloadUrlConnection.Creator
 
CREATOR - Static variable in class com.liulishuo.filedownloader.message.MessageSnapshot
 
CREATOR - Static variable in class com.liulishuo.filedownloader.model.FileDownloadHeader
 
CREATOR - Static variable in class com.liulishuo.filedownloader.model.FileDownloadModel
 
CREATOR - Static variable in class com.liulishuo.filedownloader.model.FileDownloadTaskAtom
Deprecated.
 
Creator() - Constructor for class com.liulishuo.filedownloader.stream.FileDownloadRandomAccessFile.Creator
 
CURRENT_OFFSET - Static variable in class com.liulishuo.filedownloader.model.ConnectionModel
 
CustomComponentHolder - Class in com.liulishuo.filedownloader.download
The holder for supported custom components.
CustomComponentHolder() - Constructor for class com.liulishuo.filedownloader.download.CustomComponentHolder
 
customMake() - Method in class com.liulishuo.filedownloader.database.NoDatabaseImpl.Maker
 
customMake() - Method in class com.liulishuo.filedownloader.database.RemitDatabase.Maker
 
customMake() - Method in class com.liulishuo.filedownloader.database.SqliteDatabaseImpl.Maker
 
customMake() - Method in interface com.liulishuo.filedownloader.util.FileDownloadHelper.DatabaseCustomMaker
The database is used for storing the FileDownloadModel.

D

d(Object, String, Object...) - Static method in class com.liulishuo.filedownloader.util.FileDownloadLog
 
database(FileDownloadHelper.DatabaseCustomMaker) - Method in class com.liulishuo.filedownloader.services.DownloadMgrInitialParams.InitCustomMaker
customize the database component.
DEFAULT_CALLBACK_PROGRESS_MIN_INTERVAL_MILLIS - Static variable in interface com.liulishuo.filedownloader.BaseDownloadTask
 
DEFAULT_CALLBACK_PROGRESS_MIN_INTERVAL_MILLIS - Static variable in class com.liulishuo.filedownloader.DownloadTask
 
DEFAULT_CALLBACK_PROGRESS_TIMES - Static variable in class com.liulishuo.filedownloader.model.FileDownloadModel
 
DEFAULT_INTERVAL - Static variable in class com.liulishuo.filedownloader.FileDownloadMessageStation
 
DEFAULT_SUB_PACKAGE_SIZE - Static variable in class com.liulishuo.filedownloader.FileDownloadMessageStation
 
DefaultConnectionCountAdapter - Class in com.liulishuo.filedownloader.connection
The default connection count adapter.
DefaultConnectionCountAdapter() - Constructor for class com.liulishuo.filedownloader.connection.DefaultConnectionCountAdapter
 
DefaultIdGenerator - Class in com.liulishuo.filedownloader.services
The default id generator.
DefaultIdGenerator() - Constructor for class com.liulishuo.filedownloader.services.DefaultIdGenerator
 
defaultUserAgent() - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
deleteTargetFile() - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
 
deleteTargetFile(String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
deleteTaskFiles() - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
 
deleteTaskFiles(String, String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
deleteTempFile() - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
 
deleteTempFile(String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
describeContents() - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.CompletedSnapshot
 
describeContents() - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.ConnectedMessageSnapshot
 
describeContents() - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.ErrorMessageSnapshot
 
describeContents() - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.PendingMessageSnapshot
 
describeContents() - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.ProgressMessageSnapshot
 
describeContents() - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.RetryMessageSnapshot
 
describeContents() - Method in class com.liulishuo.filedownloader.message.MessageSnapshot
 
describeContents() - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.CompletedSnapshot
 
describeContents() - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.ConnectedMessageSnapshot
 
describeContents() - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.ErrorMessageSnapshot
 
describeContents() - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.ProgressMessageSnapshot
 
describeContents() - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.RetryMessageSnapshot
 
describeContents() - Method in class com.liulishuo.filedownloader.model.FileDownloadHeader
 
describeContents() - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
 
describeContents() - Method in class com.liulishuo.filedownloader.model.FileDownloadTaskAtom
Deprecated.
 
destroyNotification(BaseDownloadTask) - Method in class com.liulishuo.filedownloader.notification.FileDownloadNotificationListener
The notification item with the task is told to destroy.
determineConnectionCount(int, String, String, long) - Method in class com.liulishuo.filedownloader.connection.DefaultConnectionCountAdapter
 
determineConnectionCount(int, String, String, long) - Method in class com.liulishuo.filedownloader.download.CustomComponentHolder
 
determineConnectionCount(int, String, String, long) - Method in interface com.liulishuo.filedownloader.util.FileDownloadHelper.ConnectionCountAdapter
Before invoke this method to determine how many connection will be used to downloading this task, there are several conditions must be confirmed:
disableAvoidDropFrame() - Static method in class com.liulishuo.filedownloader.FileDownloader
Disable avoiding missing screen frames, let all callbacks in FileDownloadListener can be invoked at once when it achieve.
disableCallbackProgressTimes() - Method in class com.liulishuo.filedownloader.FileDownloadQueueSet
 
disableNotification(BaseDownloadTask) - Method in class com.liulishuo.filedownloader.notification.FileDownloadNotificationListener
 
discard() - Method in class com.liulishuo.filedownloader.download.DownloadRunnable
 
disconnected() - Method in class com.liulishuo.filedownloader.FileDownloadConnectListener
disconnected file download service
disconnected() - Method in class com.liulishuo.filedownloader.LostServiceConnectedHandler
 
dispatchAddResumeOffset(String, long) - Method in interface com.liulishuo.filedownloader.connection.FileDownloadConnection
If we find the file has been downloaded several bytes, we will try to resume from the breakpoint from offset length.
dispatchAddResumeOffset(String, long) - Method in class com.liulishuo.filedownloader.connection.FileDownloadUrlConnection
 
dispatchTaskStart(BaseDownloadTask.IRunningTask) - Method in interface com.liulishuo.filedownloader.ILostServiceConnectedHandler
 
dispatchTaskStart(BaseDownloadTask.IRunningTask) - Method in class com.liulishuo.filedownloader.LostServiceConnectedHandler
 
DownloadEventPoolImpl - Class in com.liulishuo.filedownloader.event
Implementing actions for event pool.
DownloadEventPoolImpl() - Constructor for class com.liulishuo.filedownloader.event.DownloadEventPoolImpl
 
DownloadEventSampleListener - Class in com.liulishuo.filedownloader.event
Simplify the listener architecture.
DownloadEventSampleListener(DownloadEventSampleListener.IEventListener) - Constructor for class com.liulishuo.filedownloader.event.DownloadEventSampleListener
 
DownloadEventSampleListener.IEventListener - Interface in com.liulishuo.filedownloader.event
 
DownloadLaunchRunnable - Class in com.liulishuo.filedownloader.download
You can use this to launch downloading, on here the download will be launched separate following steps:

step 1.

DownloadLaunchRunnable.Builder - Class in com.liulishuo.filedownloader.download
 
downloadMaxNetworkThreadCount - Variable in class com.liulishuo.filedownloader.util.FileDownloadProperties
 
DownloadMgrInitialParams - Class in com.liulishuo.filedownloader.services
Params in this class is used in the downloading manager, and would be used for initialize the download manager in the process the downloader service settled on.
DownloadMgrInitialParams() - Constructor for class com.liulishuo.filedownloader.services.DownloadMgrInitialParams
 
DownloadMgrInitialParams(DownloadMgrInitialParams.InitCustomMaker) - Constructor for class com.liulishuo.filedownloader.services.DownloadMgrInitialParams
 
DownloadMgrInitialParams.InitCustomMaker - Class in com.liulishuo.filedownloader.services
 
downloadMinProgressStep - Variable in class com.liulishuo.filedownloader.util.FileDownloadProperties
 
downloadMinProgressTime - Variable in class com.liulishuo.filedownloader.util.FileDownloadProperties
 
DownloadRunnable - Class in com.liulishuo.filedownloader.download
The single download runnable used for establish one connection and fetch data from it.
DownloadRunnable.Builder - Class in com.liulishuo.filedownloader.download
 
downloadSequentially(BaseDownloadTask...) - Method in class com.liulishuo.filedownloader.FileDownloadQueueSet
Form a queue with same FileDownloadQueueSet.target and will FileDownloadQueueSet.start() linearly.
downloadSequentially(List<BaseDownloadTask>) - Method in class com.liulishuo.filedownloader.FileDownloadQueueSet
Form a queue with same FileDownloadQueueSet.target and will FileDownloadQueueSet.start() linearly.
DownloadServiceConnectChangedEvent - Class in com.liulishuo.filedownloader.event
Used to drive the FileDownload Service connection event.
DownloadServiceConnectChangedEvent(DownloadServiceConnectChangedEvent.ConnectStatus, Class<?>) - Constructor for class com.liulishuo.filedownloader.event.DownloadServiceConnectChangedEvent
 
DownloadServiceConnectChangedEvent.ConnectStatus - Enum in com.liulishuo.filedownloader.event
 
DownloadServiceNotConnectedHelper - Class in com.liulishuo.filedownloader.util
The helper for handling the case of requesting do something in the downloader service but the downloader service isn't connected yet.
DownloadServiceNotConnectedHelper() - Constructor for class com.liulishuo.filedownloader.util.DownloadServiceNotConnectedHelper
 
DownloadSpeedMonitor - Class in com.liulishuo.filedownloader
The downloading speed monitor.
DownloadSpeedMonitor() - Constructor for class com.liulishuo.filedownloader.DownloadSpeedMonitor
 
DownloadStatusCallback - Class in com.liulishuo.filedownloader.download
handle all events sync to DB/filesystem and callback to user.
DownloadStatusCallback.ProcessParams - Class in com.liulishuo.filedownloader.download
 
DownloadTask - Class in com.liulishuo.filedownloader
The download task.
DownloadTaskHunter - Class in com.liulishuo.filedownloader
The download task hunter.
downloadTogether(BaseDownloadTask...) - Method in class com.liulishuo.filedownloader.FileDownloadQueueSet
Form a queue with same FileDownloadQueueSet.target and will FileDownloadQueueSet.start() in parallel.
downloadTogether(List<BaseDownloadTask>) - Method in class com.liulishuo.filedownloader.FileDownloadQueueSet
Form a queue with same FileDownloadQueueSet.target and will FileDownloadQueueSet.start() in parallel.

E

e(Object, Throwable, String, Object...) - Static method in class com.liulishuo.filedownloader.util.FileDownloadLog
 
e(Object, String, Object...) - Static method in class com.liulishuo.filedownloader.util.FileDownloadLog
 
enableAvoidDropFrame() - Static method in class com.liulishuo.filedownloader.FileDownloader
Avoid missing screen frames, this leads to all callbacks in FileDownloadListener do not be invoked at once when it has already achieved to ensure callbacks don't be too frequent
end(long) - Method in class com.liulishuo.filedownloader.DownloadSpeedMonitor
 
end(long) - Method in interface com.liulishuo.filedownloader.IDownloadSpeed.Monitor
End the monitor, and calculate the average speed during the entire downloading processing
END_OFFSET - Static variable in class com.liulishuo.filedownloader.model.ConnectionModel
 
ending() - Method in interface com.liulishuo.filedownloader.connection.FileDownloadConnection
To Be Reused or Close this connection, since this connection is ending in this session.
ending() - Method in class com.liulishuo.filedownloader.connection.FileDownloadUrlConnection
 
enqueue() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask.InQueueTask
Enqueue the task to the global queue, what is the only way for the task to ready to be assembled by a queue.
enqueue(int) - Method in class com.liulishuo.filedownloader.message.MessageSnapshotThreadPool.FlowSingleExecutor
 
enqueue(BaseDownloadTask) - Method in class com.liulishuo.filedownloader.util.FileDownloadSerialQueue
Enqueues the given task sometime in the serial queue.
equalListener(FileDownloadListener) - Method in class com.liulishuo.filedownloader.DownloadTaskHunter
 
equalListener(FileDownloadListener) - Method in interface com.liulishuo.filedownloader.ITaskHunter.IStarter
 
ERR_MSG - Static variable in class com.liulishuo.filedownloader.model.FileDownloadModel
 
error(BaseDownloadTask, Throwable) - Method in class com.liulishuo.filedownloader.FileDownloadListener
Occur a exception, but don't has any chance to retry.
error(BaseDownloadTask, Throwable) - Method in class com.liulishuo.filedownloader.FileDownloadSampleListener
 
error - Static variable in class com.liulishuo.filedownloader.model.FileDownloadStatus
When the task on error status, it means that the task must occur some error and there isn't any valid chance to retry, so the task is finished with error.
error(BaseDownloadTask, Throwable) - Method in class com.liulishuo.filedownloader.notification.FileDownloadNotificationListener
 
ETAG - Static variable in class com.liulishuo.filedownloader.model.FileDownloadModel
 
execute() - Method in interface com.liulishuo.filedownloader.connection.FileDownloadConnection
Invokes the request immediately, and blocks until the response can be processed or is in error.
execute() - Method in class com.liulishuo.filedownloader.connection.FileDownloadUrlConnection
 
execute(MessageSnapshot) - Method in class com.liulishuo.filedownloader.message.MessageSnapshotThreadPool
 
execute(MessageSnapshot) - Method in class com.liulishuo.filedownloader.message.MessageSnapshotThreadPool.FlowSingleExecutor
 

F

FDServiceSeparateHandler - Class in com.liulishuo.filedownloader.services
For handling the case of the FileDownloadService runs in separate `:filedownloader` process.
FDServiceSharedHandler - Class in com.liulishuo.filedownloader.services
For handling the case of the FileDownloadService runs in shared the main process.
FDServiceSharedHandler.FileDownloadServiceSharedConnection - Interface in com.liulishuo.filedownloader.services
 
FetchDataTask - Class in com.liulishuo.filedownloader.download
Fetch data from the provided connection.
FetchDataTask.Builder - Class in com.liulishuo.filedownloader.download
 
FileDownloadBroadcastHandler - Class in com.liulishuo.filedownloader.services
The handler broadcast from filedownloader.
FileDownloadBroadcastHandler() - Constructor for class com.liulishuo.filedownloader.services.FileDownloadBroadcastHandler
 
FileDownloadConnection - Interface in com.liulishuo.filedownloader.connection
The connection used for connecting to the network.
FileDownloadConnectListener - Class in com.liulishuo.filedownloader
The listener for listening whether the service establishes connection or disconnected.
FileDownloadConnectListener() - Constructor for class com.liulishuo.filedownloader.FileDownloadConnectListener
 
FileDownloadDatabase - Interface in com.liulishuo.filedownloader.database
The filedownloader database, what is used for storing the FileDownloadModel.
FileDownloadDatabase.Maintainer - Interface in com.liulishuo.filedownloader.database
the maintainer for the database, this maintainer will be used when the database is initializing.
FileDownloader - Class in com.liulishuo.filedownloader
The basic entrance for FileDownloader.
FileDownloader() - Constructor for class com.liulishuo.filedownloader.FileDownloader
 
FileDownloadEventPool - Class in com.liulishuo.filedownloader
The event pool.
FileDownloadExecutors - Class in com.liulishuo.filedownloader.util
Executors are used in entire FileDownloader internal for managing different threads.
FileDownloadExecutors() - Constructor for class com.liulishuo.filedownloader.util.FileDownloadExecutors
 
FileDownloadGiveUpRetryException - Exception in com.liulishuo.filedownloader.exception
Throwing this exception, when we can't know the size of the download file, and its Transfer-Encoding is not Chunked either.
FileDownloadGiveUpRetryException(String) - Constructor for exception com.liulishuo.filedownloader.exception.FileDownloadGiveUpRetryException
 
FileDownloadHeader - Class in com.liulishuo.filedownloader.model
We have already handled Etag internal for guaranteeing tasks resuming from the breakpoint, in other words, if the task has downloaded and got Etag, we will add the 'If-Match' and the 'Range' K-V to its request header automatically.
FileDownloadHeader() - Constructor for class com.liulishuo.filedownloader.model.FileDownloadHeader
 
FileDownloadHeader(Parcel) - Constructor for class com.liulishuo.filedownloader.model.FileDownloadHeader
 
FileDownloadHelper - Class in com.liulishuo.filedownloader.util
The helper for cache the APP_CONTEXT and OK_HTTP_CLIENT for the main process and the filedownloader process.
FileDownloadHelper() - Constructor for class com.liulishuo.filedownloader.util.FileDownloadHelper
 
FileDownloadHelper.ConnectionCountAdapter - Interface in com.liulishuo.filedownloader.util
 
FileDownloadHelper.ConnectionCreator - Interface in com.liulishuo.filedownloader.util
 
FileDownloadHelper.DatabaseCustomMaker - Interface in com.liulishuo.filedownloader.util
 
FileDownloadHelper.IdGenerator - Interface in com.liulishuo.filedownloader.util
 
FileDownloadHelper.OutputStreamCreator - Interface in com.liulishuo.filedownloader.util
 
FileDownloadHttpException - Exception in com.liulishuo.filedownloader.exception
Throw this exception, when the HTTP status code is not HttpURLConnection.HTTP_OK and not HttpURLConnection.HTTP_PARTIAL either.
FileDownloadHttpException(int, Map<String, List<String>>, Map<String, List<String>>) - Constructor for exception com.liulishuo.filedownloader.exception.FileDownloadHttpException
 
FileDownloadLargeFileListener - Class in com.liulishuo.filedownloader
The listener for listening the downloading status changing.
FileDownloadLargeFileListener() - Constructor for class com.liulishuo.filedownloader.FileDownloadLargeFileListener
 
FileDownloadLargeFileListener(int) - Constructor for class com.liulishuo.filedownloader.FileDownloadLargeFileListener
Deprecated.
not handle priority any more
FileDownloadLine - Class in com.liulishuo.filedownloader
The FileDownload synchronous line.
FileDownloadLine() - Constructor for class com.liulishuo.filedownloader.FileDownloadLine
 
FileDownloadLineAsync - Class in com.liulishuo.filedownloader
The FileDownloader asynchronous line.
FileDownloadLineAsync() - Constructor for class com.liulishuo.filedownloader.FileDownloadLineAsync
 
FileDownloadList - Class in com.liulishuo.filedownloader
Storing all tasks in processing in the Main-Process.
FileDownloadListener - Class in com.liulishuo.filedownloader
FileDownloadListener() - Constructor for class com.liulishuo.filedownloader.FileDownloadListener
 
FileDownloadListener(int) - Constructor for class com.liulishuo.filedownloader.FileDownloadListener
Deprecated.
not handle priority any more
FileDownloadLog - Class in com.liulishuo.filedownloader.util
The log printer help to control all logs in FileDownloader.
FileDownloadLog() - Constructor for class com.liulishuo.filedownloader.util.FileDownloadLog
 
FileDownloadMessageStation - Class in com.liulishuo.filedownloader
The message station to transfer task events to FileDownloadListener.
FileDownloadModel - Class in com.liulishuo.filedownloader.model
The model of the downloading task will be used in the filedownloader database.
FileDownloadModel() - Constructor for class com.liulishuo.filedownloader.model.FileDownloadModel
 
FileDownloadModel(Parcel) - Constructor for class com.liulishuo.filedownloader.model.FileDownloadModel
 
FileDownloadMonitor - Class in com.liulishuo.filedownloader
The FileDownloader global monitor, monitor the begin、over for all tasks.
FileDownloadMonitor() - Constructor for class com.liulishuo.filedownloader.FileDownloadMonitor
 
FileDownloadMonitor.IMonitor - Interface in com.liulishuo.filedownloader
The interface used to monitor all tasks's status change in the FileDownloader.
FileDownloadNetworkPolicyException - Exception in com.liulishuo.filedownloader.exception
Throw this exception, If you have set true to BaseDownloadTask.setWifiRequired(boolean) when starting downloading with the network type isn't wifi or in downloading state the network type change to non-Wifi type.
FileDownloadNetworkPolicyException() - Constructor for exception com.liulishuo.filedownloader.exception.FileDownloadNetworkPolicyException
 
FileDownloadNotificationHelper<T extends BaseNotificationItem> - Class in com.liulishuo.filedownloader.notification
The helper for notifications with downloading tasks.
FileDownloadNotificationHelper() - Constructor for class com.liulishuo.filedownloader.notification.FileDownloadNotificationHelper
 
FileDownloadNotificationListener - Class in com.liulishuo.filedownloader.notification
The listener of the notification with the task.
FileDownloadNotificationListener(FileDownloadNotificationHelper) - Constructor for class com.liulishuo.filedownloader.notification.FileDownloadNotificationListener
 
FileDownloadOutOfSpaceException - Exception in com.liulishuo.filedownloader.exception
Throw this exception, when the downloading file is too large to store, in other words, the free space is less than the length of the downloading file.
FileDownloadOutOfSpaceException(long, long, long, Throwable) - Constructor for exception com.liulishuo.filedownloader.exception.FileDownloadOutOfSpaceException
 
FileDownloadOutOfSpaceException(long, long, long) - Constructor for exception com.liulishuo.filedownloader.exception.FileDownloadOutOfSpaceException
 
FileDownloadOutputStream - Interface in com.liulishuo.filedownloader.stream
The output stream used to write the file for download.
FileDownloadProperties - Class in com.liulishuo.filedownloader.util
You can customize the FileDownloader Engine by add filedownloader.properties file in your assets folder.
FileDownloadProperties.HolderClass - Class in com.liulishuo.filedownloader.util
 
FileDownloadQueueSet - Class in com.liulishuo.filedownloader
The helper for start and config the task queue simply and quickly.
FileDownloadQueueSet(FileDownloadListener) - Constructor for class com.liulishuo.filedownloader.FileDownloadQueueSet
 
FileDownloadRandomAccessFile - Class in com.liulishuo.filedownloader.stream
The FileDownloadOutputStream implemented using RandomAccessFile.
FileDownloadRandomAccessFile.Creator - Class in com.liulishuo.filedownloader.stream
 
FileDownloadSampleListener - Class in com.liulishuo.filedownloader
Simplify the FileDownloadListener.
FileDownloadSampleListener() - Constructor for class com.liulishuo.filedownloader.FileDownloadSampleListener
 
FileDownloadSecurityException - Exception in com.liulishuo.filedownloader.exception
Throwing this exception, when there are some security issues found on FileDownloader.
FileDownloadSecurityException(String) - Constructor for exception com.liulishuo.filedownloader.exception.FileDownloadSecurityException
 
FileDownloadSerialQueue - Class in com.liulishuo.filedownloader.util
The serial queue, what used to dynamically increase tasks, and tasks in the queue will automatically start download one by one.
FileDownloadSerialQueue() - Constructor for class com.liulishuo.filedownloader.util.FileDownloadSerialQueue
 
FileDownloadService - Class in com.liulishuo.filedownloader.services
The service is running for FileDownloader.
FileDownloadService() - Constructor for class com.liulishuo.filedownloader.services.FileDownloadService
 
FileDownloadService.SeparateProcessService - Class in com.liulishuo.filedownloader.services
 
FileDownloadService.SharedMainProcessService - Class in com.liulishuo.filedownloader.services
 
FileDownloadServiceProxy - Class in com.liulishuo.filedownloader
The proxy used for executing the action from FileDownloader to FileDownloadService.
FileDownloadStatus - Class in com.liulishuo.filedownloader.model
 
FileDownloadStatus() - Constructor for class com.liulishuo.filedownloader.model.FileDownloadStatus
 
FileDownloadTaskAtom - Class in com.liulishuo.filedownloader.model
FileDownloadTaskAtom(String, String, long) - Constructor for class com.liulishuo.filedownloader.model.FileDownloadTaskAtom
Deprecated.
 
FileDownloadTaskAtom(Parcel) - Constructor for class com.liulishuo.filedownloader.model.FileDownloadTaskAtom
Deprecated.
 
FileDownloadUrlConnection - Class in com.liulishuo.filedownloader.connection
The FileDownloadConnection implemented using URLConnection.
FileDownloadUrlConnection(String, FileDownloadUrlConnection.Configuration) - Constructor for class com.liulishuo.filedownloader.connection.FileDownloadUrlConnection
 
FileDownloadUrlConnection(URL, FileDownloadUrlConnection.Configuration) - Constructor for class com.liulishuo.filedownloader.connection.FileDownloadUrlConnection
 
FileDownloadUrlConnection(String) - Constructor for class com.liulishuo.filedownloader.connection.FileDownloadUrlConnection
 
FileDownloadUrlConnection.Configuration - Class in com.liulishuo.filedownloader.connection
The sample configuration for the FileDownloadUrlConnection
FileDownloadUrlConnection.Creator - Class in com.liulishuo.filedownloader.connection
 
FileDownloadUtils - Class in com.liulishuo.filedownloader.util
The utils for FileDownloader.
FileDownloadUtils() - Constructor for class com.liulishuo.filedownloader.util.FileDownloadUtils
 
FILENAME - Static variable in class com.liulishuo.filedownloader.model.FileDownloadModel
 
fileNonPreAllocation - Variable in class com.liulishuo.filedownloader.util.FileDownloadProperties
 
find(int) - Method in interface com.liulishuo.filedownloader.database.FileDownloadDatabase
Find the model which identify is id.
find(int) - Method in class com.liulishuo.filedownloader.database.NoDatabaseImpl
 
find(int) - Method in class com.liulishuo.filedownloader.database.RemitDatabase
 
find(int) - Method in class com.liulishuo.filedownloader.database.SqliteDatabaseImpl
 
findConnectionModel(int) - Method in interface com.liulishuo.filedownloader.database.FileDownloadDatabase
Find the connection model which download identify is id
findConnectionModel(int) - Method in class com.liulishuo.filedownloader.database.NoDatabaseImpl
 
findConnectionModel(int) - Method in class com.liulishuo.filedownloader.database.RemitDatabase
 
findConnectionModel(int) - Method in class com.liulishuo.filedownloader.database.SqliteDatabaseImpl
 
findContentLength(int, FileDownloadConnection) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
findContentLengthFromContentRange(FileDownloadConnection) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
findEtag(int, FileDownloadConnection) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
findFilename(FileDownloadConnection, String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
findInstanceLengthForTrial(FileDownloadConnection) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
findInstanceLengthFromContentRange(FileDownloadConnection) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
findRunningTaskIdBySameTempPath(String, int) - Method in interface com.liulishuo.filedownloader.IThreadPoolMonitor
 
FlowSingleExecutor(int) - Constructor for class com.liulishuo.filedownloader.message.MessageSnapshotThreadPool.FlowSingleExecutor
 
flushAndSync() - Method in interface com.liulishuo.filedownloader.stream.FileDownloadOutputStream
Flush all buffer to system and force all system buffers to synchronize with the underlying device.
flushAndSync() - Method in class com.liulishuo.filedownloader.stream.FileDownloadRandomAccessFile
 
foregroundServiceConfig(ForegroundServiceConfig) - Method in class com.liulishuo.filedownloader.services.DownloadMgrInitialParams.InitCustomMaker
customize configurations of foreground service
ForegroundServiceConfig - Class in com.liulishuo.filedownloader.services
 
ForegroundServiceConfig.Builder - Class in com.liulishuo.filedownloader.services
 
formatString(String, Object...) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
free() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask.IRunningTask
Free the task.
free() - Method in class com.liulishuo.filedownloader.DownloadTask
 
free() - Method in class com.liulishuo.filedownloader.DownloadTaskHunter
 
free() - Method in interface com.liulishuo.filedownloader.ITaskHunter
Free the current hunter.
freezeAllSerialQueues() - Method in interface com.liulishuo.filedownloader.IQueuesHandler
 

G

generateFileName(String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
generateFilePath(String, String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
generateId(String, String, boolean) - Method in class com.liulishuo.filedownloader.services.DefaultIdGenerator
 
generateId(String, String, boolean) - Method in interface com.liulishuo.filedownloader.util.FileDownloadHelper.IdGenerator
Invoke this method when there is a new task from very beginning.
generateId(String, String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
generateId(String, String, boolean) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
get(int) - Method in class com.liulishuo.filedownloader.FileDownloadList
 
get(int) - Method in class com.liulishuo.filedownloader.notification.FileDownloadNotificationHelper
Get BaseNotificationItem by the download id.
getAnotherSamePathTaskId() - Method in exception com.liulishuo.filedownloader.exception.PathConflictException
Get the identify of another task which has the same path with the current task and its target file path is the same to the current task too.
getAppContext() - Static method in class com.liulishuo.filedownloader.util.FileDownloadHelper
 
getAttachKey() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask.IRunningTask
When the task is running, it must attach a key.
getAttachKey() - Method in class com.liulishuo.filedownloader.DownloadTask
 
getAutoRetryTimes() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
 
getAutoRetryTimes() - Method in class com.liulishuo.filedownloader.DownloadTask
 
getBreakpointBytes() - Method in exception com.liulishuo.filedownloader.exception.FileDownloadOutOfSpaceException
 
getCallback() - Method in class com.liulishuo.filedownloader.services.BaseFileServiceUIGuard
 
getCallbackProgressMinInterval() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
 
getCallbackProgressMinInterval() - Method in class com.liulishuo.filedownloader.DownloadTask
 
getCallbackProgressTimes() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
 
getCallbackProgressTimes() - Method in class com.liulishuo.filedownloader.DownloadTask
 
getCode() - Method in exception com.liulishuo.filedownloader.exception.FileDownloadHttpException
 
getConnectionCount() - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
 
getConnectionListener() - Static method in class com.liulishuo.filedownloader.FileDownloadServiceProxy
 
getConnectStatus() - Method in class com.liulishuo.filedownloader.FileDownloadConnectListener
 
getConvertedMarkedFile(Context) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
getCurrentOffset() - Method in class com.liulishuo.filedownloader.model.ConnectionModel
 
getDatabaseInstance() - Method in class com.liulishuo.filedownloader.download.CustomComponentHolder
 
getDefaultSaveFilePath(String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
getDefaultSaveRootPath() - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
getDesc() - Method in class com.liulishuo.filedownloader.notification.BaseNotificationItem
 
getDownloadId() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
Deprecated.
getDownloadId() - Method in class com.liulishuo.filedownloader.DownloadTask
Deprecated.
Used DownloadTask.getId() instead.
getDownloadingConflictPath() - Method in exception com.liulishuo.filedownloader.exception.PathConflictException
Get the conflict downloading file path, normally, this path is used for store the downloading file relate with the PathConflictException.mTargetFilePath, and it would be generated from FileDownloadUtils.getTempPath(String).
getEndOffset() - Method in class com.liulishuo.filedownloader.model.ConnectionModel
 
getErrMsg() - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
 
getErrorCause() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
 
getErrorCause() - Method in class com.liulishuo.filedownloader.DownloadTask
 
getErrorCause() - Method in class com.liulishuo.filedownloader.DownloadTaskHunter
 
getErrorCause() - Method in interface com.liulishuo.filedownloader.ITaskHunter
 
getEtag() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
 
getEtag() - Method in class com.liulishuo.filedownloader.DownloadTask
 
getEtag() - Method in class com.liulishuo.filedownloader.DownloadTaskHunter
 
getEtag() - Method in interface com.liulishuo.filedownloader.ITaskHunter
 
getEtag() - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.ConnectedMessageSnapshot
 
getEtag() - Method in class com.liulishuo.filedownloader.message.MessageSnapshot
 
getEtag() - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.ConnectedMessageSnapshot
 
getETag() - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
 
getEx() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
Deprecated.
getEx() - Method in class com.liulishuo.filedownloader.DownloadTask
 
getException() - Method in class com.liulishuo.filedownloader.download.DownloadStatusCallback.ProcessParams
 
getFilename() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
 
getFilename() - Method in class com.liulishuo.filedownloader.DownloadTask
 
getFileName() - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.ConnectedMessageSnapshot
 
getFileName() - Method in class com.liulishuo.filedownloader.message.MessageSnapshot
 
getFileName() - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.ConnectedMessageSnapshot
 
getFilename() - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
 
getFinishListenerList() - Method in class com.liulishuo.filedownloader.DownloadTask
 
getForegroundConfigInstance() - Method in class com.liulishuo.filedownloader.download.CustomComponentHolder
 
getFreeSpaceBytes() - Method in exception com.liulishuo.filedownloader.exception.FileDownloadOutOfSpaceException
 
getFreeSpaceBytes(String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
getHeader() - Method in class com.liulishuo.filedownloader.DownloadTask
 
getHeaders() - Method in class com.liulishuo.filedownloader.model.FileDownloadHeader
 
getHelper() - Method in class com.liulishuo.filedownloader.notification.FileDownloadNotificationListener
 
getId() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
getId() - Method in class com.liulishuo.filedownloader.download.DownloadLaunchRunnable
 
getId() - Method in class com.liulishuo.filedownloader.DownloadTask
 
getId() - Method in class com.liulishuo.filedownloader.event.IDownloadEvent
 
getId() - Method in class com.liulishuo.filedownloader.message.MessageSnapshot
 
getId() - Method in class com.liulishuo.filedownloader.model.ConnectionModel
 
getId() - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
 
getId() - Method in class com.liulishuo.filedownloader.model.FileDownloadTaskAtom
Deprecated.
 
getId() - Method in class com.liulishuo.filedownloader.notification.BaseNotificationItem
 
getIdGeneratorInstance() - Method in class com.liulishuo.filedownloader.download.CustomComponentHolder
 
getImpl() - Static method in class com.liulishuo.filedownloader.download.CustomComponentHolder
 
getImpl() - Static method in class com.liulishuo.filedownloader.FileDownloader
 
getImpl() - Static method in class com.liulishuo.filedownloader.FileDownloadEventPool
 
getImpl() - Static method in class com.liulishuo.filedownloader.FileDownloadList
 
getImpl() - Static method in class com.liulishuo.filedownloader.FileDownloadMessageStation
 
getImpl() - Static method in class com.liulishuo.filedownloader.FileDownloadServiceProxy
 
getImpl() - Static method in class com.liulishuo.filedownloader.message.MessageSnapshotFlow
 
getImpl() - Static method in class com.liulishuo.filedownloader.util.FileDownloadProperties
 
getIndex() - Method in class com.liulishuo.filedownloader.model.ConnectionModel
 
getInputStream() - Method in interface com.liulishuo.filedownloader.connection.FileDownloadConnection
Returns an input stream that reads from this open connection.
getInputStream() - Method in class com.liulishuo.filedownloader.connection.FileDownloadUrlConnection
 
getLargeFileSoFarBytes() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
This method will be used when the length of target file is more than 1.99G.
getLargeFileSoFarBytes() - Method in class com.liulishuo.filedownloader.DownloadTask
 
getLargeFileTotalBytes() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
This method will be used when the length of target file is more than 1.99G.
getLargeFileTotalBytes() - Method in class com.liulishuo.filedownloader.DownloadTask
 
getLargeSofarBytes() - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.ErrorMessageSnapshot
 
getLargeSofarBytes() - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.PendingMessageSnapshot
 
getLargeSofarBytes() - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.ProgressMessageSnapshot
 
getLargeSofarBytes() - Method in class com.liulishuo.filedownloader.message.MessageSnapshot
 
getLargeSofarBytes() - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot
 
getLargeTotalBytes() - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.CompletedSnapshot
 
getLargeTotalBytes() - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.ConnectedMessageSnapshot
 
getLargeTotalBytes() - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.PendingMessageSnapshot
 
getLargeTotalBytes() - Method in class com.liulishuo.filedownloader.message.MessageSnapshot
 
getLargeTotalBytes() - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot
 
getLastStatus() - Method in class com.liulishuo.filedownloader.notification.BaseNotificationItem
 
getListener() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
 
getListener() - Method in class com.liulishuo.filedownloader.DownloadTask
 
getManager() - Method in class com.liulishuo.filedownloader.notification.BaseNotificationItem
 
getMaxNetworkThreadCount() - Method in class com.liulishuo.filedownloader.download.CustomComponentHolder
 
getMaxNetworkThreadCount() - Method in class com.liulishuo.filedownloader.services.DownloadMgrInitialParams
 
getMessageHandler() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask.IRunningTask
 
getMessageHandler() - Method in class com.liulishuo.filedownloader.DownloadTask
 
getMessenger() - Method in class com.liulishuo.filedownloader.DownloadTaskHunter
 
getMessenger() - Method in interface com.liulishuo.filedownloader.ITaskHunter.IMessageHandler
 
getMinProgressStep() - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
getMinProgressTime() - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
getMonitor() - Static method in class com.liulishuo.filedownloader.FileDownloadMonitor
 
getNotification(Context) - Method in class com.liulishuo.filedownloader.services.ForegroundServiceConfig
 
getNotificationChannelId() - Method in class com.liulishuo.filedownloader.services.ForegroundServiceConfig
 
getNotificationChannelName() - Method in class com.liulishuo.filedownloader.services.ForegroundServiceConfig
 
getNotificationId() - Method in class com.liulishuo.filedownloader.services.ForegroundServiceConfig
 
getOrigin() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask.IRunningTask
 
getOrigin() - Method in class com.liulishuo.filedownloader.DownloadTask
 
getParent(String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
The same to File.getParent(), for non-creating a file object.
getPath() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
 
getPath() - Method in class com.liulishuo.filedownloader.DownloadTask
 
getPath() - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
Get the path user set from BaseDownloadTask.setPath(String)
getPath() - Method in class com.liulishuo.filedownloader.model.FileDownloadTaskAtom
Deprecated.
 
getPauseLock() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask.IRunningTask
Get the object as a lock for synchronized with the pause area.
getPauseLock() - Method in class com.liulishuo.filedownloader.DownloadTask
 
getProfile() - Method in class com.liulishuo.filedownloader.download.ConnectTask
 
getRequestHeader() - Method in class com.liulishuo.filedownloader.download.ConnectTask
 
getRequestHeader() - Method in exception com.liulishuo.filedownloader.exception.FileDownloadHttpException
 
getRequestHeaderFields() - Method in interface com.liulishuo.filedownloader.connection.FileDownloadConnection
Returns an unmodifiable Map of general request header fields for this connection.
getRequestHeaderFields() - Method in class com.liulishuo.filedownloader.connection.FileDownloadUrlConnection
 
getRequiredSpaceBytes() - Method in exception com.liulishuo.filedownloader.exception.FileDownloadOutOfSpaceException
 
getResponseCode() - Method in interface com.liulishuo.filedownloader.connection.FileDownloadConnection
Gets the status code from an HTTP response message.
getResponseCode() - Method in class com.liulishuo.filedownloader.connection.FileDownloadUrlConnection
 
getResponseHeader() - Method in exception com.liulishuo.filedownloader.exception.FileDownloadHttpException
 
getResponseHeaderField(String) - Method in interface com.liulishuo.filedownloader.connection.FileDownloadConnection
Returns the value of the named header field, which would be the response-header field.
getResponseHeaderField(String) - Method in class com.liulishuo.filedownloader.connection.FileDownloadUrlConnection
 
getResponseHeaderFields() - Method in interface com.liulishuo.filedownloader.connection.FileDownloadConnection
Returns an unmodifiable Map of the header fields.
getResponseHeaderFields() - Method in class com.liulishuo.filedownloader.connection.FileDownloadUrlConnection
 
getRetryingTimes() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
 
getRetryingTimes() - Method in class com.liulishuo.filedownloader.download.DownloadStatusCallback.ProcessParams
 
getRetryingTimes() - Method in class com.liulishuo.filedownloader.DownloadTask
 
getRetryingTimes() - Method in class com.liulishuo.filedownloader.DownloadTaskHunter
 
getRetryingTimes() - Method in interface com.liulishuo.filedownloader.ITaskHunter
 
getRetryingTimes() - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.RetryMessageSnapshot
 
getRetryingTimes() - Method in class com.liulishuo.filedownloader.message.MessageSnapshot
 
getRetryingTimes() - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.RetryMessageSnapshot
 
getRunningTask() - Method in class com.liulishuo.filedownloader.DownloadTask
 
getService() - Method in class com.liulishuo.filedownloader.services.BaseFileServiceUIGuard
 
getSmallFileSoFarBytes() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
This method will be used when the length of target file is less than or equal to 1.99G.
getSmallFileSoFarBytes() - Method in class com.liulishuo.filedownloader.DownloadTask
 
getSmallFileTotalBytes() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
This method will be used when the length of target file is less than or equal to 1.99G.
getSmallFileTotalBytes() - Method in class com.liulishuo.filedownloader.DownloadTask
 
getSmallSofarBytes() - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot
 
getSmallSofarBytes() - Method in class com.liulishuo.filedownloader.message.MessageSnapshot
 
getSmallSofarBytes() - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.ErrorMessageSnapshot
 
getSmallSofarBytes() - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.PendingMessageSnapshot
 
getSmallSofarBytes() - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.ProgressMessageSnapshot
 
getSmallTotalBytes() - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot
 
getSmallTotalBytes() - Method in class com.liulishuo.filedownloader.message.MessageSnapshot
 
getSmallTotalBytes() - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.CompletedSnapshot
 
getSmallTotalBytes() - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.ConnectedMessageSnapshot
 
getSmallTotalBytes() - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.PendingMessageSnapshot
 
getSoFar(int) - Method in class com.liulishuo.filedownloader.FileDownloader
Get downloaded bytes so far by the downloadId.
getSoFar(int) - Method in class com.liulishuo.filedownloader.FileDownloadLine
getSofar(int) - Method in class com.liulishuo.filedownloader.FileDownloadServiceProxy
 
getSofar(int) - Method in interface com.liulishuo.filedownloader.IFileDownloadServiceProxy
 
getSoFar() - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
 
getSofar() - Method in class com.liulishuo.filedownloader.notification.BaseNotificationItem
 
getSofar(int) - Method in class com.liulishuo.filedownloader.services.FDServiceSeparateHandler
 
getSofar(int) - Method in class com.liulishuo.filedownloader.services.FDServiceSharedHandler
 
getSofar(int) - Static method in class com.liulishuo.filedownloader.util.DownloadServiceNotConnectedHelper
 
getSoFarBytes() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
getSoFarBytes() - Method in class com.liulishuo.filedownloader.DownloadTask
 
getSofarBytes() - Method in class com.liulishuo.filedownloader.DownloadTaskHunter
 
getSofarBytes() - Method in interface com.liulishuo.filedownloader.ITaskHunter
 
getSpeed() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
Get the downloading speed.
getSpeed() - Method in class com.liulishuo.filedownloader.DownloadSpeedMonitor
 
getSpeed() - Method in class com.liulishuo.filedownloader.DownloadTask
 
getSpeed() - Method in class com.liulishuo.filedownloader.DownloadTaskHunter
 
getSpeed() - Method in interface com.liulishuo.filedownloader.IDownloadSpeed.Lookup
 
getStack() - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
getStack(boolean) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
getStack(StackTraceElement[], boolean) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
getStartOffset() - Method in class com.liulishuo.filedownloader.model.ConnectionModel
 
getStatus() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
 
getStatus() - Method in class com.liulishuo.filedownloader.DownloadTask
 
getStatus() - Method in class com.liulishuo.filedownloader.DownloadTaskHunter
 
getStatus() - Method in class com.liulishuo.filedownloader.event.DownloadServiceConnectChangedEvent
 
getStatus(String, String) - Method in class com.liulishuo.filedownloader.FileDownloader
 
getStatus(int, String) - Method in class com.liulishuo.filedownloader.FileDownloader
 
getStatus(int, String) - Method in class com.liulishuo.filedownloader.FileDownloadLine
getStatus(int) - Method in class com.liulishuo.filedownloader.FileDownloadServiceProxy
 
getStatus(int) - Method in interface com.liulishuo.filedownloader.IFileDownloadServiceProxy
 
getStatus() - Method in interface com.liulishuo.filedownloader.ITaskHunter
 
getStatus() - Method in class com.liulishuo.filedownloader.message.BlockCompleteMessage.BlockCompleteMessageImpl
 
getStatus() - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.CompletedSnapshot
 
getStatus() - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.ConnectedMessageSnapshot
 
getStatus() - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.ErrorMessageSnapshot
 
getStatus() - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.PausedSnapshot
 
getStatus() - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.PendingMessageSnapshot
 
getStatus() - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.ProgressMessageSnapshot
 
getStatus() - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.RetryMessageSnapshot
 
getStatus() - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.WarnMessageSnapshot
 
getStatus() - Method in class com.liulishuo.filedownloader.message.MessageSnapshot.StartedMessageSnapshot
 
getStatus() - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.CompletedSnapshot
 
getStatus() - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.ConnectedMessageSnapshot
 
getStatus() - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.ErrorMessageSnapshot
 
getStatus() - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.PausedSnapshot
 
getStatus() - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.PendingMessageSnapshot
 
getStatus() - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.ProgressMessageSnapshot
 
getStatus() - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.RetryMessageSnapshot
 
getStatus() - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.WarnMessageSnapshot
 
getStatus() - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
 
getStatus() - Method in class com.liulishuo.filedownloader.notification.BaseNotificationItem
 
getStatus(int) - Method in class com.liulishuo.filedownloader.services.FDServiceSeparateHandler
 
getStatus(int) - Method in class com.liulishuo.filedownloader.services.FDServiceSharedHandler
 
getStatus(int) - Static method in class com.liulishuo.filedownloader.util.DownloadServiceNotConnectedHelper
 
getStatusIgnoreCompleted(int) - Method in class com.liulishuo.filedownloader.FileDownloader
 
getTag() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
 
getTag(int) - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
Returns the tag associated with this task and the specified key.
getTag() - Method in class com.liulishuo.filedownloader.DownloadTask
 
getTag(int) - Method in class com.liulishuo.filedownloader.DownloadTask
 
getTargetFilePath() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
 
getTargetFilePath() - Method in class com.liulishuo.filedownloader.DownloadTask
 
getTargetFilePath() - Method in exception com.liulishuo.filedownloader.exception.PathConflictException
Get the target file path, which downloading file path is conflict when downloading the task.
getTargetFilePath() - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
Get the finally target file path is used for store the download file.
getTargetFilePath(String, boolean, String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
getTempFilePath() - Method in class com.liulishuo.filedownloader.download.DownloadLaunchRunnable
 
getTempFilePath() - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
 
getTempPath(String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
getThreadPoolName(String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
getThrowable() - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.ErrorMessageSnapshot
 
getThrowable() - Method in class com.liulishuo.filedownloader.message.MessageSnapshot
 
getThrowable() - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.ErrorMessageSnapshot
 
getTitle() - Method in class com.liulishuo.filedownloader.notification.BaseNotificationItem
 
getTotal(int) - Method in class com.liulishuo.filedownloader.FileDownloader
Get the total bytes of the target file for the task with the {code id}.
getTotal(int) - Method in class com.liulishuo.filedownloader.FileDownloadLine
getTotal(int) - Method in class com.liulishuo.filedownloader.FileDownloadServiceProxy
 
getTotal(int) - Method in interface com.liulishuo.filedownloader.IFileDownloadServiceProxy
 
getTotal() - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
 
getTotal() - Method in class com.liulishuo.filedownloader.notification.BaseNotificationItem
 
getTotal(int) - Method in class com.liulishuo.filedownloader.services.FDServiceSeparateHandler
 
getTotal(int) - Method in class com.liulishuo.filedownloader.services.FDServiceSharedHandler
 
getTotal(int) - Static method in class com.liulishuo.filedownloader.util.DownloadServiceNotConnectedHelper
 
getTotalBytes() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
getTotalBytes() - Method in class com.liulishuo.filedownloader.DownloadTask
 
getTotalBytes() - Method in class com.liulishuo.filedownloader.DownloadTaskHunter
 
getTotalBytes() - Method in interface com.liulishuo.filedownloader.ITaskHunter
 
getTotalBytes() - Method in class com.liulishuo.filedownloader.model.FileDownloadTaskAtom
Deprecated.
 
getTotalOffset(List<ConnectionModel>) - Static method in class com.liulishuo.filedownloader.model.ConnectionModel
 
getUrl() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
 
getUrl() - Method in class com.liulishuo.filedownloader.DownloadTask
 
getUrl() - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
 
getUrl() - Method in class com.liulishuo.filedownloader.model.FileDownloadTaskAtom
Deprecated.
 
getValidNetworkThreadCount(int) - Static method in class com.liulishuo.filedownloader.util.FileDownloadProperties
 
getWaitingTaskCount() - Method in class com.liulishuo.filedownloader.util.FileDownloadSerialQueue
Get the count of tasks which is waiting on this queue.
getWorkingTaskId() - Method in class com.liulishuo.filedownloader.util.FileDownloadSerialQueue
Returns the identify of the working task, if there is task is working, you will receive FileDownloadSerialQueue.ID_INVALID.

H

handleMessage(Message) - Method in class com.liulishuo.filedownloader.download.DownloadStatusCallback
 
holdContext(Context) - Static method in class com.liulishuo.filedownloader.util.FileDownloadHelper
 
HolderClass() - Constructor for class com.liulishuo.filedownloader.message.MessageSnapshotFlow.HolderClass
 
HolderClass() - Constructor for class com.liulishuo.filedownloader.util.FileDownloadProperties.HolderClass
 
httpLenient - Variable in class com.liulishuo.filedownloader.util.FileDownloadProperties
 

I

i(Object, String, Object...) - Static method in class com.liulishuo.filedownloader.util.FileDownloadLog
 
ID - Static variable in class com.liulishuo.filedownloader.event.DownloadServiceConnectChangedEvent
 
id - Variable in class com.liulishuo.filedownloader.event.IDownloadEvent
 
ID - Static variable in class com.liulishuo.filedownloader.model.ConnectionModel
 
ID - Static variable in class com.liulishuo.filedownloader.model.FileDownloadModel
 
ID_INVALID - Static variable in class com.liulishuo.filedownloader.util.FileDownloadSerialQueue
 
idGenerator(FileDownloadHelper.IdGenerator) - Method in class com.liulishuo.filedownloader.services.DownloadMgrInitialParams.InitCustomMaker
customize the id generator.
IDownloadEvent - Class in com.liulishuo.filedownloader.event
An atom event.
IDownloadEvent(String) - Constructor for class com.liulishuo.filedownloader.event.IDownloadEvent
 
IDownloadEvent(String, boolean) - Constructor for class com.liulishuo.filedownloader.event.IDownloadEvent
Deprecated.
do not handle ORDER any more.
IDownloadListener - Class in com.liulishuo.filedownloader.event
The listener is used to listen the publish event from Event Pool.
IDownloadListener() - Constructor for class com.liulishuo.filedownloader.event.IDownloadListener
 
IDownloadSpeed - Interface in com.liulishuo.filedownloader
The interface for the downloading speed.
IDownloadSpeed.Lookup - Interface in com.liulishuo.filedownloader
For lookup the downloading speed data.
IDownloadSpeed.Monitor - Interface in com.liulishuo.filedownloader
The downloading monitor, used for calculating downloading speed.
IFileDownloadServiceProxy - Interface in com.liulishuo.filedownloader
The interface to access the FileDownloadService.
IFlowDirectly - Interface in com.liulishuo.filedownloader.message
If the snapshot implement this interface, it will be flowed directly, it means that it would be callback to the message station synchronize, not through the keep-flow-thread-pool.
ignoreEachTaskInternalProgress() - Method in class com.liulishuo.filedownloader.FileDownloadQueueSet
 
ILostServiceConnectedHandler - Interface in com.liulishuo.filedownloader
The handler for handing the case of the connect with the downloader service is lost when tasks is running.
increaseSoFar(long) - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
 
INDEX - Static variable in class com.liulishuo.filedownloader.model.ConnectionModel
 
inflow(MessageSnapshot) - Method in class com.liulishuo.filedownloader.message.MessageSnapshotFlow
 
init(Context) - Static method in class com.liulishuo.filedownloader.FileDownloader
Deprecated.
please use FileDownloader.setup(Context) instead.
init(Context, DownloadMgrInitialParams.InitCustomMaker) - Static method in class com.liulishuo.filedownloader.FileDownloader
InitCustomMaker() - Constructor for class com.liulishuo.filedownloader.services.DownloadMgrInitialParams.InitCustomMaker
 
insert(FileDownloadModel) - Method in interface com.liulishuo.filedownloader.database.FileDownloadDatabase
Insert the model to the database.
insert(FileDownloadModel) - Method in class com.liulishuo.filedownloader.database.NoDatabaseImpl
 
insert(FileDownloadModel) - Method in class com.liulishuo.filedownloader.database.RemitDatabase
 
insert(FileDownloadModel) - Method in class com.liulishuo.filedownloader.database.SqliteDatabaseImpl
 
insertConnectionModel(ConnectionModel) - Method in interface com.liulishuo.filedownloader.database.FileDownloadDatabase
Insert the model to connection table.
insertConnectionModel(ConnectionModel) - Method in class com.liulishuo.filedownloader.database.NoDatabaseImpl
 
insertConnectionModel(ConnectionModel) - Method in class com.liulishuo.filedownloader.database.RemitDatabase
 
insertConnectionModel(ConnectionModel) - Method in class com.liulishuo.filedownloader.database.SqliteDatabaseImpl
 
inspectAndInflowConflictPath(int, long, String, String, IThreadPoolMonitor) - Static method in class com.liulishuo.filedownloader.util.FileDownloadHelper
 
inspectAndInflowDownloaded(int, String, boolean, boolean) - Static method in class com.liulishuo.filedownloader.util.FileDownloadHelper
 
inspectAndInflowDownloading(int, FileDownloadModel, IThreadPoolMonitor, boolean) - Static method in class com.liulishuo.filedownloader.util.FileDownloadHelper
 
insureServiceBind() - Method in class com.liulishuo.filedownloader.FileDownloader
If the FileDownloader service is not started and connected, FileDownloader will try to start it and try to bind with it.
insureServiceBindAsync() - Method in class com.liulishuo.filedownloader.FileDownloader
If the FileDownloader service is not started and connected will return false immediately, and meanwhile FileDownloader will try to start FileDownloader service and try to bind with it, and after it is bound successfully the request you invoke in FileDownloadLineAsync will be executed automatically.
interceptCancel(BaseDownloadTask, BaseNotificationItem) - Method in class com.liulishuo.filedownloader.notification.FileDownloadNotificationListener
 
intoLaunchPool() - Method in class com.liulishuo.filedownloader.DownloadTaskHunter
 
intoLaunchPool() - Method in interface com.liulishuo.filedownloader.ITaskHunter
Enter into the launch pool.
INVALID_STATUS - Static variable in class com.liulishuo.filedownloader.model.FileDownloadStatus
When the task on INVALID_STATUS status, it means that the task is IDLE.
IQueuesHandler - Interface in com.liulishuo.filedownloader
The interface for handle affairs of queues.
is(int) - Method in interface com.liulishuo.filedownloader.BaseDownloadTask.IRunningTask
 
is(FileDownloadListener) - Method in interface com.liulishuo.filedownloader.BaseDownloadTask.IRunningTask
 
is(int) - Method in class com.liulishuo.filedownloader.DownloadTask
 
is(FileDownloadListener) - Method in class com.liulishuo.filedownloader.DownloadTask
 
isAcceptRange(int, FileDownloadConnection) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
isAlive() - Method in class com.liulishuo.filedownloader.download.DownloadLaunchRunnable
 
isAlive() - Method in class com.liulishuo.filedownloader.download.DownloadStatusCallback
 
isAttached() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
Whether this task has already attached to a listener / a serial-queue.
isAttached() - Method in class com.liulishuo.filedownloader.DownloadTask
 
isBreakpointAvailable(int, FileDownloadModel) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
isBreakpointAvailable(int, FileDownloadModel, Boolean) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
isBreakpointAvailable(int, FileDownloadModel, String, Boolean) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
isChanged() - Method in class com.liulishuo.filedownloader.notification.BaseNotificationItem
 
isChunked() - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
 
isConnected() - Method in class com.liulishuo.filedownloader.FileDownloadServiceProxy
 
isConnected() - Method in interface com.liulishuo.filedownloader.IFileDownloadServiceProxy
 
isConnected() - Method in class com.liulishuo.filedownloader.services.BaseFileServiceUIGuard
 
isContainFinishListener() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask.IRunningTask
Whether contain finish listener or not.
isContainFinishListener() - Method in class com.liulishuo.filedownloader.DownloadTask
 
isContinue() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
Deprecated.
isContinue() - Method in class com.liulishuo.filedownloader.DownloadTask
Deprecated.
isDownloaderProcess(Context) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
isDownloading(String, String) - Method in class com.liulishuo.filedownloader.FileDownloadServiceProxy
 
isDownloading(String, String) - Method in interface com.liulishuo.filedownloader.IFileDownloadServiceProxy
 
isDownloading(FileDownloadModel) - Method in interface com.liulishuo.filedownloader.IThreadPoolMonitor
 
isDownloading(String, String) - Static method in class com.liulishuo.filedownloader.util.DownloadServiceNotConnectedHelper
 
isEnabledAvoidDropFrame() - Static method in class com.liulishuo.filedownloader.FileDownloader
 
isFilenameConverted(Context) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
isFilenameValid(String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
Checks whether the filename looks legitimate.
isForceReDownload() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
 
isForceReDownload() - Method in class com.liulishuo.filedownloader.DownloadTask
 
isIdle() - Method in class com.liulishuo.filedownloader.FileDownloadServiceProxy
 
isIdle() - Method in interface com.liulishuo.filedownloader.IFileDownloadServiceProxy
 
isIdle() - Method in class com.liulishuo.filedownloader.services.FDServiceSeparateHandler
 
isIdle() - Method in class com.liulishuo.filedownloader.services.FDServiceSharedHandler
 
isIdle() - Static method in class com.liulishuo.filedownloader.util.DownloadServiceNotConnectedHelper
 
isIng(int) - Static method in class com.liulishuo.filedownloader.model.FileDownloadStatus
 
isIntervalValid() - Static method in class com.liulishuo.filedownloader.FileDownloadMessageStation
 
isInvalid() - Method in class com.liulishuo.filedownloader.FileDownloadListener
Whether this listener has already invalidated to receive callbacks.
isInWaitingList(BaseDownloadTask.IRunningTask) - Method in interface com.liulishuo.filedownloader.ILostServiceConnectedHandler
 
isInWaitingList(BaseDownloadTask.IRunningTask) - Method in class com.liulishuo.filedownloader.LostServiceConnectedHandler
 
isKeepAhead(int, int) - Static method in class com.liulishuo.filedownloader.model.FileDownloadStatus
 
isKeepFlow(int, int) - Static method in class com.liulishuo.filedownloader.model.FileDownloadStatus
 
isLargeFile() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
 
isLargeFile() - Method in class com.liulishuo.filedownloader.DownloadTask
 
isLargeFile() - Method in class com.liulishuo.filedownloader.DownloadTaskHunter
 
isLargeFile() - Method in interface com.liulishuo.filedownloader.ITaskHunter
 
isLargeFile - Variable in class com.liulishuo.filedownloader.message.MessageSnapshot
 
isLargeFile() - Method in class com.liulishuo.filedownloader.message.MessageSnapshot
 
isLargeFile() - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
 
isMarkedAdded2List() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask.IRunningTask
 
isMarkedAdded2List() - Method in class com.liulishuo.filedownloader.DownloadTask
 
isMoreLikelyCompleted(BaseDownloadTask) - Static method in class com.liulishuo.filedownloader.model.FileDownloadStatus
 
isNeedRecreateChannelId() - Method in class com.liulishuo.filedownloader.services.ForegroundServiceConfig
 
isNeedSync(long, long) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
isNetworkNotOnWifiType() - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
isOver() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask.IRunningTask
 
isOver() - Method in class com.liulishuo.filedownloader.DownloadTask
 
isOver(int) - Static method in class com.liulishuo.filedownloader.model.FileDownloadStatus
 
isPathAsDirectory() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
 
isPathAsDirectory() - Method in class com.liulishuo.filedownloader.DownloadTask
 
isPathAsDirectory() - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
 
isResuming() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
 
isResuming() - Method in class com.liulishuo.filedownloader.download.DownloadStatusCallback.ProcessParams
 
isResuming() - Method in class com.liulishuo.filedownloader.DownloadTask
 
isResuming() - Method in class com.liulishuo.filedownloader.DownloadTaskHunter
 
isResuming() - Method in interface com.liulishuo.filedownloader.ITaskHunter
 
isResuming() - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.ConnectedMessageSnapshot
 
isResuming() - Method in class com.liulishuo.filedownloader.message.MessageSnapshot
 
isResuming() - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.ConnectedMessageSnapshot
 
isRetry(Exception) - Method in class com.liulishuo.filedownloader.download.DownloadLaunchRunnable
 
isRetry(Exception) - Method in interface com.liulishuo.filedownloader.download.ProcessCallback
 
isReusedDownloadedFile() - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.CompletedSnapshot
 
isReusedDownloadedFile() - Method in class com.liulishuo.filedownloader.message.MessageSnapshot
 
isReusedDownloadedFile() - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.CompletedSnapshot
 
isReusedOldFile() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
 
isReusedOldFile() - Method in class com.liulishuo.filedownloader.DownloadTask
 
isReusedOldFile() - Method in class com.liulishuo.filedownloader.DownloadTaskHunter
 
isReusedOldFile() - Method in interface com.liulishuo.filedownloader.ITaskHunter
 
isRunning() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
 
isRunning() - Method in class com.liulishuo.filedownloader.DownloadTask
 
isServiceConnected() - Method in class com.liulishuo.filedownloader.FileDownloader
 
isSuchService(Class<?>) - Method in class com.liulishuo.filedownloader.event.DownloadServiceConnectChangedEvent
 
isSupportSeek() - Method in class com.liulishuo.filedownloader.download.CustomComponentHolder
 
isSyncCallback() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
 
isSyncCallback() - Method in class com.liulishuo.filedownloader.DownloadTask
 
isUsing() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
 
isUsing() - Method in class com.liulishuo.filedownloader.DownloadTask
 
isValid() - Static method in class com.liulishuo.filedownloader.FileDownloadMonitor
 
isWifiRequired() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
 
isWifiRequired() - Method in class com.liulishuo.filedownloader.DownloadTask
 
ITaskHunter - Interface in com.liulishuo.filedownloader
The downloading task hunter.
ITaskHunter.IMessageHandler - Interface in com.liulishuo.filedownloader
The message handler for a task.
ITaskHunter.IStarter - Interface in com.liulishuo.filedownloader
 
iterator() - Method in class com.liulishuo.filedownloader.database.SqliteDatabaseImpl.Maintainer
 
IThreadPoolMonitor - Interface in com.liulishuo.filedownloader
The FileDownload thread monitor interface.

K

KEY_MODEL - Static variable in class com.liulishuo.filedownloader.services.FileDownloadBroadcastHandler
 

L

LargeMessageSnapshot - Class in com.liulishuo.filedownloader.message
A message snapshot for large file(the length is more than or equal to 2G).
LargeMessageSnapshot.CompletedFlowDirectlySnapshot - Class in com.liulishuo.filedownloader.message
 
LargeMessageSnapshot.CompletedSnapshot - Class in com.liulishuo.filedownloader.message
 
LargeMessageSnapshot.ConnectedMessageSnapshot - Class in com.liulishuo.filedownloader.message
 
LargeMessageSnapshot.ErrorMessageSnapshot - Class in com.liulishuo.filedownloader.message
 
LargeMessageSnapshot.PausedSnapshot - Class in com.liulishuo.filedownloader.message
 
LargeMessageSnapshot.PendingMessageSnapshot - Class in com.liulishuo.filedownloader.message
 
LargeMessageSnapshot.ProgressMessageSnapshot - Class in com.liulishuo.filedownloader.message
 
LargeMessageSnapshot.RetryMessageSnapshot - Class in com.liulishuo.filedownloader.message
 
LargeMessageSnapshot.WarnFlowDirectlySnapshot - Class in com.liulishuo.filedownloader.message
 
LargeMessageSnapshot.WarnMessageSnapshot - Class in com.liulishuo.filedownloader.message
 
LostServiceConnectedHandler - Class in com.liulishuo.filedownloader
The handler for handing the case of the connect with the downloader service is lost when tasks is running.
LostServiceConnectedHandler() - Constructor for class com.liulishuo.filedownloader.LostServiceConnectedHandler
 

M

maintainer() - Method in interface com.liulishuo.filedownloader.database.FileDownloadDatabase
Get the maintainer for the database, this maintainer will be used when the database is initializing.
maintainer() - Method in class com.liulishuo.filedownloader.database.NoDatabaseImpl
 
maintainer() - Method in class com.liulishuo.filedownloader.database.RemitDatabase
 
maintainer() - Method in class com.liulishuo.filedownloader.database.SqliteDatabaseImpl
 
maintainer(SparseArray<FileDownloadModel>, SparseArray<List<ConnectionModel>>) - Method in class com.liulishuo.filedownloader.database.SqliteDatabaseImpl
 
Maker() - Constructor for class com.liulishuo.filedownloader.database.NoDatabaseImpl.Maker
 
Maker() - Constructor for class com.liulishuo.filedownloader.database.RemitDatabase.Maker
 
Maker() - Constructor for class com.liulishuo.filedownloader.database.SqliteDatabaseImpl.Maker
 
markAdded2List() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask.IRunningTask
Mark the task has already added to the downloading list.
markAdded2List() - Method in class com.liulishuo.filedownloader.DownloadTask
 
markConverted(Context) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
maxNetworkThreadCount(int) - Method in class com.liulishuo.filedownloader.services.DownloadMgrInitialParams.InitCustomMaker
Customize the max network thread count.
mConnection - Variable in class com.liulishuo.filedownloader.connection.FileDownloadUrlConnection
 
md5(String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
MessageSnapshot - Class in com.liulishuo.filedownloader.message
The message snapshot.
MessageSnapshot.IWarnMessageSnapshot - Interface in com.liulishuo.filedownloader.message
 
MessageSnapshot.NoFieldException - Exception in com.liulishuo.filedownloader.message
 
MessageSnapshot.StartedMessageSnapshot - Class in com.liulishuo.filedownloader.message
 
MessageSnapshotFlow - Class in com.liulishuo.filedownloader.message
The internal message snapshot station.
MessageSnapshotFlow() - Constructor for class com.liulishuo.filedownloader.message.MessageSnapshotFlow
 
MessageSnapshotFlow.HolderClass - Class in com.liulishuo.filedownloader.message
 
MessageSnapshotFlow.MessageReceiver - Interface in com.liulishuo.filedownloader.message
 
MessageSnapshotGate - Class in com.liulishuo.filedownloader
The message snapshot gate beyond the downloader service.
MessageSnapshotGate() - Constructor for class com.liulishuo.filedownloader.MessageSnapshotGate
 
MessageSnapshotTaker - Class in com.liulishuo.filedownloader.message
The factory for taking message snapshots.
MessageSnapshotTaker() - Constructor for class com.liulishuo.filedownloader.message.MessageSnapshotTaker
 
MessageSnapshotThreadPool - Class in com.liulishuo.filedownloader.message
For guaranteeing only one-thread-pool for one-task, the task will be identified by its ID, make sure the same task will be invoked in FIFO.
MessageSnapshotThreadPool.FlowSingleExecutor - Class in com.liulishuo.filedownloader.message
 

N

NEED_LOG - Static variable in class com.liulishuo.filedownloader.util.FileDownloadLog
 
needMakeServiceForeground(Context) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
needRecreateChannelId(boolean) - Method in class com.liulishuo.filedownloader.services.ForegroundServiceConfig.Builder
 
newDefaultThreadPool(int, String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadExecutors
 
newDefaultThreadPool(int, LinkedBlockingQueue<Runnable>, String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadExecutors
 
newFixedThreadPool(String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadExecutors
 
NO_RESPONSE_CODE - Static variable in interface com.liulishuo.filedownloader.connection.FileDownloadConnection
 
NoDatabaseImpl - Class in com.liulishuo.filedownloader.database
The no database implementation, this implementation no use database anymore, it just store the data on the cache, which means when the process is killed or re-create everything would be gone including all breakpoint data, and some mistake rescue will be can't be achieve.
NoDatabaseImpl() - Constructor for class com.liulishuo.filedownloader.database.NoDatabaseImpl
 
NoDatabaseImpl.Maker - Class in com.liulishuo.filedownloader.database
 
notification(Notification) - Method in class com.liulishuo.filedownloader.services.ForegroundServiceConfig.Builder
 
notificationChannelId(String) - Method in class com.liulishuo.filedownloader.services.ForegroundServiceConfig.Builder
 
notificationChannelName(String) - Method in class com.liulishuo.filedownloader.services.ForegroundServiceConfig.Builder
 
notificationId(int) - Method in class com.liulishuo.filedownloader.services.ForegroundServiceConfig.Builder
 

O

onBegin() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask.LifeCycleCallback
The task begin working.
onBegin() - Method in class com.liulishuo.filedownloader.DownloadTaskHunter
 
onBind(Intent) - Method in class com.liulishuo.filedownloader.services.FDServiceSeparateHandler
 
onBind(Intent) - Method in class com.liulishuo.filedownloader.services.FDServiceSharedHandler
 
onBind(Intent) - Method in class com.liulishuo.filedownloader.services.FileDownloadService
 
onCompleted(DownloadRunnable, long, long) - Method in class com.liulishuo.filedownloader.download.DownloadLaunchRunnable
 
onCompleted(DownloadRunnable, long, long) - Method in interface com.liulishuo.filedownloader.download.ProcessCallback
 
onConnected(FDServiceSharedHandler) - Method in interface com.liulishuo.filedownloader.services.FDServiceSharedHandler.FileDownloadServiceSharedConnection
 
onCreate(SQLiteDatabase) - Method in class com.liulishuo.filedownloader.database.SqliteDatabaseOpenHelper
 
onCreate() - Method in class com.liulishuo.filedownloader.services.FileDownloadService
 
onDestroy() - Method in class com.liulishuo.filedownloader.services.FDServiceSeparateHandler
 
onDestroy() - Method in class com.liulishuo.filedownloader.services.FDServiceSharedHandler
 
onDestroy() - Method in class com.liulishuo.filedownloader.services.FileDownloadService
 
onDisconnected() - Method in interface com.liulishuo.filedownloader.services.FDServiceSharedHandler.FileDownloadServiceSharedConnection
 
onDowngrade(SQLiteDatabase, int, int) - Method in class com.liulishuo.filedownloader.database.SqliteDatabaseOpenHelper
 
onError(Exception) - Method in class com.liulishuo.filedownloader.download.DownloadLaunchRunnable
 
onError(Exception) - Method in interface com.liulishuo.filedownloader.download.ProcessCallback
 
onFinishMaintain() - Method in interface com.liulishuo.filedownloader.database.FileDownloadDatabase.Maintainer
invoke this method when the operation for maintain is finished.
onFinishMaintain() - Method in class com.liulishuo.filedownloader.database.SqliteDatabaseImpl.Maintainer
 
onIng() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask.LifeCycleCallback
The task is running, and during the downloading processing, when the status of the task is changed will trigger to callback this method.
onIng() - Method in class com.liulishuo.filedownloader.DownloadTaskHunter
 
onOpen(SQLiteDatabase) - Method in class com.liulishuo.filedownloader.database.SqliteDatabaseOpenHelper
 
onOver() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask.LifeCycleCallback
The task is end.
onOver() - Method in class com.liulishuo.filedownloader.DownloadTaskHunter
 
onPending() - Method in class com.liulishuo.filedownloader.download.DownloadStatusCallback
 
onProgress(long) - Method in class com.liulishuo.filedownloader.download.DownloadLaunchRunnable
 
onProgress(long) - Method in interface com.liulishuo.filedownloader.download.ProcessCallback
 
onRefreshedValidData(FileDownloadModel) - Method in interface com.liulishuo.filedownloader.database.FileDownloadDatabase.Maintainer
invoke this method when the model is valid to save and has been refreshed.
onRefreshedValidData(FileDownloadModel) - Method in class com.liulishuo.filedownloader.database.SqliteDatabaseImpl.Maintainer
 
onRemovedInvalidData(FileDownloadModel) - Method in interface com.liulishuo.filedownloader.database.FileDownloadDatabase.Maintainer
invoke this method when the model is invalid and has been removed.
onRemovedInvalidData(FileDownloadModel) - Method in class com.liulishuo.filedownloader.database.SqliteDatabaseImpl.Maintainer
 
onRequestStart(int, boolean, FileDownloadListener) - Method in interface com.liulishuo.filedownloader.FileDownloadMonitor.IMonitor
Request to start multi-tasks manually.
onRequestStart(BaseDownloadTask) - Method in interface com.liulishuo.filedownloader.FileDownloadMonitor.IMonitor
Request to start a task.
onRetry(Exception) - Method in class com.liulishuo.filedownloader.download.DownloadLaunchRunnable
 
onRetry(Exception) - Method in interface com.liulishuo.filedownloader.download.ProcessCallback
 
onServiceConnected(ComponentName, IBinder) - Method in class com.liulishuo.filedownloader.services.BaseFileServiceUIGuard
 
onServiceDisconnected(ComponentName) - Method in class com.liulishuo.filedownloader.services.BaseFileServiceUIGuard
 
onStartCommand(Intent, int, int) - Method in class com.liulishuo.filedownloader.services.FDServiceSeparateHandler
 
onStartCommand(Intent, int, int) - Method in class com.liulishuo.filedownloader.services.FDServiceSharedHandler
 
onStartCommand(Intent, int, int) - Method in class com.liulishuo.filedownloader.services.FileDownloadService
 
onTaskBegin(BaseDownloadTask) - Method in interface com.liulishuo.filedownloader.FileDownloadMonitor.IMonitor
The method will be invoked when the task in the internal is beginning.
onTaskOver(BaseDownloadTask) - Method in interface com.liulishuo.filedownloader.FileDownloadMonitor.IMonitor
The method will be invoked when the task in the internal is over.
onTaskStart(int) - Method in interface com.liulishuo.filedownloader.database.FileDownloadDatabase
Invoked when task is started.
onTaskStart(int) - Method in class com.liulishuo.filedownloader.database.NoDatabaseImpl
 
onTaskStart(int) - Method in class com.liulishuo.filedownloader.database.RemitDatabase
 
onTaskStart(int) - Method in class com.liulishuo.filedownloader.database.SqliteDatabaseImpl
 
onTaskStarted(BaseDownloadTask) - Method in interface com.liulishuo.filedownloader.FileDownloadMonitor.IMonitor
The method will be invoked when the download runnable of the task has started running.
onUpgrade(SQLiteDatabase, int, int) - Method in class com.liulishuo.filedownloader.database.SqliteDatabaseOpenHelper
 
outputStreamCreator(FileDownloadHelper.OutputStreamCreator) - Method in class com.liulishuo.filedownloader.services.DownloadMgrInitialParams.InitCustomMaker
Customize the output stream component.
over(BaseDownloadTask) - Method in interface com.liulishuo.filedownloader.BaseDownloadTask.FinishListener
Will be invoked when the task is over(FileDownloadStatus.isOver(int)).

P

parseContentDisposition(String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
The same to com.android.providers.downloads.Helpers#parseContentDisposition.
parseContentLengthFromContentRange(String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
parseContentRangeFoInstanceLength(String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
parseIntent(Intent) - Static method in class com.liulishuo.filedownloader.services.FileDownloadBroadcastHandler
Parse the intent from the filedownloader broadcast.
PATH - Static variable in class com.liulishuo.filedownloader.model.FileDownloadModel
 
PATH_AS_DIRECTORY - Static variable in class com.liulishuo.filedownloader.model.FileDownloadModel
 
PathConflictException - Exception in com.liulishuo.filedownloader.exception
Throw this exception, when there is an another running task with the same path with the current task, so if the current task is started, the path of the file is sure to be written by multiple tasks, it is wrong, then we through this exception to avoid such conflict.
PathConflictException(int, String, String) - Constructor for exception com.liulishuo.filedownloader.exception.PathConflictException
 
pause() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
Why pause? not stop/cancel? because invoke this method(pause) will clear all data about this task in memory, and stop the total processing about this task.
pause() - Method in class com.liulishuo.filedownloader.download.DownloadLaunchRunnable
 
pause() - Method in class com.liulishuo.filedownloader.download.DownloadRunnable
 
pause() - Method in class com.liulishuo.filedownloader.download.FetchDataTask
 
pause() - Method in class com.liulishuo.filedownloader.DownloadTask
 
pause() - Method in class com.liulishuo.filedownloader.DownloadTaskHunter
 
pause(FileDownloadListener) - Method in class com.liulishuo.filedownloader.FileDownloader
Pause the download queue by the same listener.
pause(int) - Method in class com.liulishuo.filedownloader.FileDownloader
Pause downloading tasks with the id.
pause(int) - Method in class com.liulishuo.filedownloader.FileDownloadServiceProxy
 
pause(int) - Method in interface com.liulishuo.filedownloader.IFileDownloadServiceProxy
 
pause() - Method in interface com.liulishuo.filedownloader.ITaskHunter
 
pause(int) - Method in class com.liulishuo.filedownloader.services.FDServiceSeparateHandler
 
pause(int) - Method in class com.liulishuo.filedownloader.services.FDServiceSharedHandler
 
pause(int) - Static method in class com.liulishuo.filedownloader.util.DownloadServiceNotConnectedHelper
 
pause() - Method in class com.liulishuo.filedownloader.util.FileDownloadSerialQueue
Pause the queue.
pauseAll() - Method in class com.liulishuo.filedownloader.FileDownloader
Pause all tasks running in FileDownloader.
pauseAllTasks() - Method in class com.liulishuo.filedownloader.FileDownloadServiceProxy
 
pauseAllTasks() - Method in interface com.liulishuo.filedownloader.IFileDownloadServiceProxy
 
pauseAllTasks() - Method in class com.liulishuo.filedownloader.services.FDServiceSeparateHandler
 
pauseAllTasks() - Method in class com.liulishuo.filedownloader.services.FDServiceSharedHandler
 
pauseAllTasks() - Static method in class com.liulishuo.filedownloader.util.DownloadServiceNotConnectedHelper
 
paused(BaseDownloadTask, long, long) - Method in class com.liulishuo.filedownloader.FileDownloadLargeFileListener
Download paused
paused(BaseDownloadTask, int, int) - Method in class com.liulishuo.filedownloader.FileDownloadLargeFileListener
paused(BaseDownloadTask, int, int) - Method in class com.liulishuo.filedownloader.FileDownloadListener
Task is paused, the vast majority of cases is invoking the BaseDownloadTask.pause() manually.
paused(BaseDownloadTask, int, int) - Method in class com.liulishuo.filedownloader.FileDownloadSampleListener
 
paused - Static variable in class com.liulishuo.filedownloader.model.FileDownloadStatus
When the task on paused status, it means that the task is paused manually.
paused(BaseDownloadTask, int, int) - Method in class com.liulishuo.filedownloader.notification.FileDownloadNotificationListener
 
pending() - Method in class com.liulishuo.filedownloader.download.DownloadLaunchRunnable
 
pending(BaseDownloadTask, long, long) - Method in class com.liulishuo.filedownloader.FileDownloadLargeFileListener
Entry queue, and pending
pending(BaseDownloadTask, int, int) - Method in class com.liulishuo.filedownloader.FileDownloadLargeFileListener
pending(BaseDownloadTask, int, int) - Method in class com.liulishuo.filedownloader.FileDownloadListener
Enqueue, and pending, waiting for FileDownloadListener.started(BaseDownloadTask).
pending(BaseDownloadTask, int, int) - Method in class com.liulishuo.filedownloader.FileDownloadSampleListener
 
pending - Static variable in class com.liulishuo.filedownloader.model.FileDownloadStatus
When the task on pending status, it means that the task is in the list on the FileDownloadService and just waiting for start.
pending(BaseDownloadTask, int, int) - Method in class com.liulishuo.filedownloader.notification.FileDownloadNotificationListener
 
popCache(String) - Method in class com.liulishuo.filedownloader.services.BaseFileServiceUIGuard
 
prepareErrorMessage(Throwable) - Method in class com.liulishuo.filedownloader.DownloadTaskHunter
 
prepareErrorMessage(Throwable) - Method in interface com.liulishuo.filedownloader.ITaskHunter.IMessageHandler
 
process(Map<String, List<String>>, FileDownloadConnection, List<String>) - Static method in class com.liulishuo.filedownloader.connection.RedirectHandler
 
ProcessCallback - Interface in com.liulishuo.filedownloader.download
The process event callbacks.
processNonSeparate - Variable in class com.liulishuo.filedownloader.util.FileDownloadProperties
 
ProcessParams() - Constructor for class com.liulishuo.filedownloader.download.DownloadStatusCallback.ProcessParams
 
processProfile(FileDownloadConnection) - Method in class com.liulishuo.filedownloader.download.ConnectionProfile
 
progress(BaseDownloadTask, long, long) - Method in class com.liulishuo.filedownloader.FileDownloadLargeFileListener
 
progress(BaseDownloadTask, int, int) - Method in class com.liulishuo.filedownloader.FileDownloadLargeFileListener
progress(BaseDownloadTask, int, int) - Method in class com.liulishuo.filedownloader.FileDownloadListener
Fetching datum from network and Writing to the local disk.
progress(BaseDownloadTask, int, int) - Method in class com.liulishuo.filedownloader.FileDownloadSampleListener
 
progress - Static variable in class com.liulishuo.filedownloader.model.FileDownloadStatus
When the task on progress status, it means that the task is fetching data from the back-end.
progress(BaseDownloadTask, int, int) - Method in class com.liulishuo.filedownloader.notification.FileDownloadNotificationListener
 
proxy(Proxy) - Method in class com.liulishuo.filedownloader.connection.FileDownloadUrlConnection.Configuration
The connection will be made through the specified proxy.
publish(IDownloadEvent) - Method in class com.liulishuo.filedownloader.event.DownloadEventPoolImpl
 
putCache(Object) - Method in class com.liulishuo.filedownloader.services.BaseFileServiceUIGuard
 

R

readTimeout(int) - Method in class com.liulishuo.filedownloader.connection.FileDownloadUrlConnection.Configuration
Sets the read timeout to a specified timeout, in milliseconds.
ready() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
Deprecated.
please use BaseDownloadTask.asInQueueTask() first and when you need to enqueue this task to the global queue to make this task is ready to be assembled by the queue which makes up of the same listener task, just invoke BaseDownloadTask.InQueueTask.enqueue().
ready() - Method in class com.liulishuo.filedownloader.DownloadTask
 
receive(MessageSnapshot) - Method in interface com.liulishuo.filedownloader.message.MessageSnapshotFlow.MessageReceiver
 
receive(MessageSnapshot) - Method in class com.liulishuo.filedownloader.MessageSnapshotGate
 
receive(MessageSnapshot) - Method in class com.liulishuo.filedownloader.services.FDServiceSeparateHandler
 
RedirectHandler - Class in com.liulishuo.filedownloader.connection
Handle redirect case.
RedirectHandler() - Constructor for class com.liulishuo.filedownloader.connection.RedirectHandler
 
registerCallback(INTERFACE, CALLBACK) - Method in class com.liulishuo.filedownloader.services.BaseFileServiceUIGuard
 
registerCallback(IFileDownloadIPCCallback) - Method in class com.liulishuo.filedownloader.services.FDServiceSeparateHandler
 
registerCallback(IFileDownloadIPCCallback) - Method in class com.liulishuo.filedownloader.services.FDServiceSharedHandler
 
releaseGlobalMonitor() - Static method in class com.liulishuo.filedownloader.FileDownloadMonitor
 
RemitDatabase - Class in com.liulishuo.filedownloader.database
If one data insert/update and remove within 2 sec, which will do not effect on realDatabase.
RemitDatabase() - Constructor for class com.liulishuo.filedownloader.database.RemitDatabase
 
RemitDatabase.Maker - Class in com.liulishuo.filedownloader.database
 
remove(int) - Method in interface com.liulishuo.filedownloader.database.FileDownloadDatabase
Remove the model which identify is id.
remove(int) - Method in class com.liulishuo.filedownloader.database.NoDatabaseImpl
 
remove(int) - Method in class com.liulishuo.filedownloader.database.RemitDatabase
 
remove(int) - Method in class com.liulishuo.filedownloader.database.SqliteDatabaseImpl
 
remove(BaseDownloadTask.IRunningTask, MessageSnapshot) - Method in class com.liulishuo.filedownloader.FileDownloadList
 
remove(int) - Method in class com.liulishuo.filedownloader.notification.FileDownloadNotificationHelper
Remove the BaseNotificationItem by the download id.
removeAll(String) - Method in class com.liulishuo.filedownloader.model.FileDownloadHeader
Remove all files with the name.
removeAllHeaders(String) - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
Remove all fields in the request header.
removeAllHeaders(String) - Method in class com.liulishuo.filedownloader.DownloadTask
 
removeConnections(int) - Method in interface com.liulishuo.filedownloader.database.FileDownloadDatabase
Delete all connection model store on database through the download id.
removeConnections(int) - Method in class com.liulishuo.filedownloader.database.NoDatabaseImpl
 
removeConnections(int) - Method in class com.liulishuo.filedownloader.database.RemitDatabase
 
removeConnections(int) - Method in class com.liulishuo.filedownloader.database.SqliteDatabaseImpl
 
removeFinishListener(BaseDownloadTask.FinishListener) - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
Remove the finish listener from this task.
removeFinishListener(BaseDownloadTask.FinishListener) - Method in class com.liulishuo.filedownloader.DownloadTask
 
removeListener(String, IDownloadListener) - Method in class com.liulishuo.filedownloader.event.DownloadEventPoolImpl
 
removeServiceConnectListener(FileDownloadConnectListener) - Method in class com.liulishuo.filedownloader.FileDownloader
Remove the listener for listening when the status of connection with the downloader service is changed.
replaceListener(String, FileDownloadListener) - Method in class com.liulishuo.filedownloader.FileDownloader
Find the running task by url and default path, and replace its listener with the new one listener.
replaceListener(String, String, FileDownloadListener) - Method in class com.liulishuo.filedownloader.FileDownloader
Find the running task by url and path, and replace its listener with the new one listener.
replaceListener(int, FileDownloadListener) - Method in class com.liulishuo.filedownloader.FileDownloader
Find the running task by id, and replace its listener width the new one listener.
reset() - Method in class com.liulishuo.filedownloader.DownloadSpeedMonitor
 
reset() - Method in class com.liulishuo.filedownloader.DownloadTaskHunter
 
reset() - Method in interface com.liulishuo.filedownloader.IDownloadSpeed.Monitor
Reset the monitor.
reset() - Method in interface com.liulishuo.filedownloader.ITaskHunter
Reset the hunter.
resetConnectionCount() - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
reset the connection count to default value: 1.
RESPONSE_CODE_FROM_OFFSET - Static variable in interface com.liulishuo.filedownloader.connection.FileDownloadConnection
 
resume() - Method in class com.liulishuo.filedownloader.util.FileDownloadSerialQueue
Resume the queue if the queue is paused.
retry(BaseDownloadTask, Throwable, int, long) - Method in class com.liulishuo.filedownloader.FileDownloadLargeFileListener
Start Retry
retry(BaseDownloadTask, Throwable, int, int) - Method in class com.liulishuo.filedownloader.FileDownloadLargeFileListener
retry(BaseDownloadTask, Throwable, int, int) - Method in class com.liulishuo.filedownloader.FileDownloadListener
Occur a exception and has chanceBaseDownloadTask.setAutoRetryTimes(int) to retry and start Retry.
retry - Static variable in class com.liulishuo.filedownloader.model.FileDownloadStatus
When the task on retry status, it means that the task must occur some error, but there is a valid chance to retry, so the task is retry to download again.
retry(BaseDownloadTask, Throwable, int, int) - Method in class com.liulishuo.filedownloader.notification.FileDownloadNotificationListener
 
retryOnConnectedWithNewParam(ConnectionProfile, String) - Method in class com.liulishuo.filedownloader.download.ConnectTask
 
reuse() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
Reuse this task withhold request params: path、url、header、isForceReDownloader、etc.
reuse() - Method in class com.liulishuo.filedownloader.DownloadTask
 
reuseAndStart() - Method in class com.liulishuo.filedownloader.FileDownloadQueueSet
Before starting downloading tasks in this queue-set, we will try to BaseDownloadTask.reuse() tasks first.
run() - Method in class com.liulishuo.filedownloader.download.DownloadLaunchRunnable
 
run() - Method in class com.liulishuo.filedownloader.download.DownloadRunnable
 
run() - Method in class com.liulishuo.filedownloader.download.FetchDataTask
 

S

seek(long) - Method in interface com.liulishuo.filedownloader.stream.FileDownloadOutputStream
Sets the file-pointer offset, measured from the beginning of this file, at which the next read or write occurs.
seek(long) - Method in class com.liulishuo.filedownloader.stream.FileDownloadRandomAccessFile
 
sendCompletedBroadcast(FileDownloadModel) - Static method in class com.liulishuo.filedownloader.services.FileDownloadBroadcastHandler
 
SeparateProcessService() - Constructor for class com.liulishuo.filedownloader.services.FileDownloadService.SeparateProcessService
 
serialQueueSize() - Method in interface com.liulishuo.filedownloader.IQueuesHandler
 
setAttachKeyByQueue(int) - Method in interface com.liulishuo.filedownloader.BaseDownloadTask.IRunningTask
Set this task attach to the key by the queue.
setAttachKeyByQueue(int) - Method in class com.liulishuo.filedownloader.DownloadTask
 
setAttachKeyDefault() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask.IRunningTask
Set this task to the default key.
setAttachKeyDefault() - Method in class com.liulishuo.filedownloader.DownloadTask
 
setAutoRetryTimes(int) - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
Set the number of times to retry when encounter any error, except FileDownloadGiveUpRetryException.
setAutoRetryTimes(int) - Method in class com.liulishuo.filedownloader.DownloadTask
 
setAutoRetryTimes(int) - Method in class com.liulishuo.filedownloader.FileDownloadQueueSet
 
setCallback(ProcessCallback) - Method in class com.liulishuo.filedownloader.download.DownloadRunnable.Builder
 
setCallback(ProcessCallback) - Method in class com.liulishuo.filedownloader.download.FetchDataTask.Builder
 
setCallbackProgressIgnored() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
Ignore all callbacks of FileDownloadListener.progress(BaseDownloadTask, int, int) during the entire process of downloading.
setCallbackProgressIgnored() - Method in class com.liulishuo.filedownloader.DownloadTask
 
setCallbackProgressMaxCount(Integer) - Method in class com.liulishuo.filedownloader.download.DownloadLaunchRunnable.Builder
 
setCallbackProgressMinInterval(int) - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
Set the minimum time interval between each callback of FileDownloadListener.progress(BaseDownloadTask, int, int).
setCallbackProgressMinInterval(int) - Method in class com.liulishuo.filedownloader.DownloadTask
 
setCallbackProgressMinInterval(int) - Method in class com.liulishuo.filedownloader.FileDownloadQueueSet
 
setCallbackProgressTimes(int) - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
Set the maximum callback count of FileDownloadListener.progress(BaseDownloadTask, int, int) during the entire process of downloading.
setCallbackProgressTimes(int) - Method in class com.liulishuo.filedownloader.DownloadTask
 
setCallbackProgressTimes(int) - Method in class com.liulishuo.filedownloader.FileDownloadQueueSet
 
setConnection(FileDownloadConnection) - Method in class com.liulishuo.filedownloader.download.FetchDataTask.Builder
 
setConnectionCount(int) - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
 
setConnectionIndex(Integer) - Method in class com.liulishuo.filedownloader.download.DownloadRunnable.Builder
 
setConnectionIndex(int) - Method in class com.liulishuo.filedownloader.download.FetchDataTask.Builder
 
setConnectionModel(ConnectionProfile) - Method in class com.liulishuo.filedownloader.download.DownloadRunnable.Builder
 
setConnectionProfile(ConnectionProfile) - Method in class com.liulishuo.filedownloader.download.FetchDataTask.Builder
 
setCurrentOffset(long) - Method in class com.liulishuo.filedownloader.model.ConnectionModel
 
setDefaultSaveRootPath(String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
The path is used as the default directory in the case of the task without set path.
setDesc(String) - Method in class com.liulishuo.filedownloader.notification.BaseNotificationItem
 
setDirectory(String) - Method in class com.liulishuo.filedownloader.FileDownloadQueueSet
 
setDownloadId(int) - Method in class com.liulishuo.filedownloader.download.FetchDataTask.Builder
 
setEndOffset(long) - Method in class com.liulishuo.filedownloader.model.ConnectionModel
 
setErrMsg(String) - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
 
setEtag(String) - Method in class com.liulishuo.filedownloader.download.DownloadRunnable.Builder
 
setETag(String) - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
 
setFileName(String) - Method in class com.liulishuo.filedownloader.DownloadTask
 
setFilename(String) - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
 
setFinishListener(BaseDownloadTask.FinishListener) - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
setFinishListener(BaseDownloadTask.FinishListener) - Method in class com.liulishuo.filedownloader.DownloadTask
 
setForceReDownload(boolean) - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
Force re-downloading the file regardless the target file is exist.
setForceReDownload(Boolean) - Method in class com.liulishuo.filedownloader.download.DownloadLaunchRunnable.Builder
 
setForceReDownload(boolean) - Method in class com.liulishuo.filedownloader.DownloadTask
 
setForceReDownload(boolean) - Method in class com.liulishuo.filedownloader.FileDownloadQueueSet
 
setGlobalHandleSubPackageSize(int) - Static method in class com.liulishuo.filedownloader.FileDownloader
For avoiding missing screen frames.
setGlobalMonitor(FileDownloadMonitor.IMonitor) - Static method in class com.liulishuo.filedownloader.FileDownloadMonitor
 
setGlobalPost2UIInterval(int) - Static method in class com.liulishuo.filedownloader.FileDownloader
For avoiding missing screen frames.
setHeader(FileDownloadHeader) - Method in class com.liulishuo.filedownloader.download.DownloadLaunchRunnable.Builder
 
setHeader(FileDownloadHeader) - Method in class com.liulishuo.filedownloader.download.DownloadRunnable.Builder
 
setHost(DownloadRunnable) - Method in class com.liulishuo.filedownloader.download.FetchDataTask.Builder
 
setId(int) - Method in class com.liulishuo.filedownloader.download.DownloadRunnable.Builder
 
setId(int) - Method in class com.liulishuo.filedownloader.model.ConnectionModel
 
setId(int) - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
 
setId(int) - Method in class com.liulishuo.filedownloader.notification.BaseNotificationItem
 
setIndex(int) - Method in class com.liulishuo.filedownloader.model.ConnectionModel
 
setInitCustomMaker(DownloadMgrInitialParams.InitCustomMaker) - Method in class com.liulishuo.filedownloader.download.CustomComponentHolder
 
setLength(long) - Method in interface com.liulishuo.filedownloader.stream.FileDownloadOutputStream
Sets the length of this file.
setLength(long) - Method in class com.liulishuo.filedownloader.stream.FileDownloadRandomAccessFile
 
setListener(FileDownloadListener) - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
 
setListener(FileDownloadListener) - Method in class com.liulishuo.filedownloader.DownloadTask
 
setMaxNetworkThreadCount(int) - Method in class com.liulishuo.filedownloader.FileDownloader
Set the maximum count of the network thread, what is the number of simultaneous downloads in FileDownloader.
setMaxNetworkThreadCount(int) - Method in class com.liulishuo.filedownloader.FileDownloadServiceProxy
 
setMaxNetworkThreadCount(int) - Method in interface com.liulishuo.filedownloader.IFileDownloadServiceProxy
 
setMaxNetworkThreadCount(int) - Method in class com.liulishuo.filedownloader.services.FDServiceSeparateHandler
 
setMaxNetworkThreadCount(int) - Method in class com.liulishuo.filedownloader.services.FDServiceSharedHandler
 
setMaxNetworkThreadCount(int) - Static method in class com.liulishuo.filedownloader.util.DownloadServiceNotConnectedHelper
 
setMaxRetryTimes(Integer) - Method in class com.liulishuo.filedownloader.download.DownloadLaunchRunnable.Builder
 
setMinIntervalMillis(Integer) - Method in class com.liulishuo.filedownloader.download.DownloadLaunchRunnable.Builder
 
setMinIntervalUpdateSpeed(int) - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
 
setMinIntervalUpdateSpeed(int) - Method in class com.liulishuo.filedownloader.DownloadSpeedMonitor
 
setMinIntervalUpdateSpeed(int) - Method in class com.liulishuo.filedownloader.DownloadTask
 
setMinIntervalUpdateSpeed(int) - Method in class com.liulishuo.filedownloader.DownloadTaskHunter
 
setMinIntervalUpdateSpeed(int) - Method in interface com.liulishuo.filedownloader.IDownloadSpeed.Lookup
 
setMinProgressStep(int) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
setMinProgressTime(long) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
 
setModel(FileDownloadModel) - Method in class com.liulishuo.filedownloader.download.DownloadLaunchRunnable.Builder
 
setNeedRecreateChannelId(boolean) - Method in class com.liulishuo.filedownloader.services.ForegroundServiceConfig
 
setNotification(Notification) - Method in class com.liulishuo.filedownloader.services.ForegroundServiceConfig
 
setNotificationChannelId(String) - Method in class com.liulishuo.filedownloader.services.ForegroundServiceConfig
 
setNotificationChannelName(String) - Method in class com.liulishuo.filedownloader.services.ForegroundServiceConfig
 
setNotificationId(int) - Method in class com.liulishuo.filedownloader.services.ForegroundServiceConfig
 
setPath(String) - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
 
setPath(String, boolean) - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
 
setPath(String) - Method in class com.liulishuo.filedownloader.download.DownloadRunnable.Builder
 
setPath(String) - Method in class com.liulishuo.filedownloader.download.FetchDataTask.Builder
 
setPath(String) - Method in class com.liulishuo.filedownloader.DownloadTask
 
setPath(String, boolean) - Method in class com.liulishuo.filedownloader.DownloadTask
 
setPath(String, boolean) - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
 
setPath(String) - Method in class com.liulishuo.filedownloader.model.FileDownloadTaskAtom
Deprecated.
 
setReceiver(MessageSnapshotFlow.MessageReceiver) - Method in class com.liulishuo.filedownloader.message.MessageSnapshotFlow
 
setRequestMethod(String) - Method in interface com.liulishuo.filedownloader.connection.FileDownloadConnection
Set the method for the request, one of: GET POST HEAD OPTIONS PUT DELETE TRACE are legal, subject to protocol restrictions.
setRequestMethod(String) - Method in class com.liulishuo.filedownloader.connection.FileDownloadUrlConnection
 
setSoFar(long) - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
 
setSofar(int) - Method in class com.liulishuo.filedownloader.notification.BaseNotificationItem
 
setStartOffset(long) - Method in class com.liulishuo.filedownloader.model.ConnectionModel
 
setStatus(byte) - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
 
setStatus(int) - Method in class com.liulishuo.filedownloader.notification.BaseNotificationItem
 
setSyncCallback(boolean) - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
 
setSyncCallback(boolean) - Method in class com.liulishuo.filedownloader.DownloadTask
 
setSyncCallback(boolean) - Method in class com.liulishuo.filedownloader.FileDownloadQueueSet
 
setTag(Object) - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
Sets the tag associated with this task, not be used by internal.
setTag(int, Object) - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
Set a tag associated with this task, not be used by internal.
setTag(Object) - Method in class com.liulishuo.filedownloader.DownloadTask
 
setTag(int, Object) - Method in class com.liulishuo.filedownloader.DownloadTask
 
setTag(Object) - Method in class com.liulishuo.filedownloader.FileDownloadQueueSet
 
setTaskCompleted(String, String, long) - Method in class com.liulishuo.filedownloader.FileDownloader
Deprecated.
If you invoked this method, please remove the code directly feel free, it doesn't need any longer. In new mechanism(filedownloader 0.3.3 or higher), FileDownloader doesn't store completed tasks in Database anymore, because all downloading files have temp a file name.
setTaskCompleted(List<FileDownloadTaskAtom>) - Method in class com.liulishuo.filedownloader.FileDownloader
Deprecated.
If you invoked this method, please remove the code directly feel free, it doesn't need any longer. In new mechanism(filedownloader 0.3.3 or higher), FileDownloader doesn't store completed tasks in Database anymore, because all downloading files have temp a file name.
setThreadPoolMonitor(IThreadPoolMonitor) - Method in class com.liulishuo.filedownloader.download.DownloadLaunchRunnable.Builder
 
setTitle(String) - Method in class com.liulishuo.filedownloader.notification.BaseNotificationItem
 
setTotal(long) - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
 
setTotal(int) - Method in class com.liulishuo.filedownloader.notification.BaseNotificationItem
 
setTotalBytes(long) - Method in class com.liulishuo.filedownloader.model.FileDownloadTaskAtom
Deprecated.
 
setup(Context) - Static method in class com.liulishuo.filedownloader.FileDownloader
You can invoke this method anytime before you using the FileDownloader.
setupOnApplicationOnCreate(Application) - Static method in class com.liulishuo.filedownloader.FileDownloader
Using this method to setup the FileDownloader only you want to register your own customize components for Filedownloader, otherwise just using FileDownloader.setup(Context) instead.
setUrl(String) - Method in class com.liulishuo.filedownloader.download.DownloadRunnable.Builder
 
setUrl(String) - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
 
setUrl(String) - Method in class com.liulishuo.filedownloader.model.FileDownloadTaskAtom
Deprecated.
 
setWifiRequired(boolean) - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
Set whether this task only allows downloading on the wifi network type.
setWifiRequired(Boolean) - Method in class com.liulishuo.filedownloader.download.DownloadLaunchRunnable.Builder
 
setWifiRequired(boolean) - Method in class com.liulishuo.filedownloader.download.DownloadRunnable.Builder
 
setWifiRequired(boolean) - Method in class com.liulishuo.filedownloader.download.FetchDataTask.Builder
 
setWifiRequired(boolean) - Method in class com.liulishuo.filedownloader.DownloadTask
 
setWifiRequired(boolean) - Method in class com.liulishuo.filedownloader.FileDownloadQueueSet
 
SharedMainProcessService() - Constructor for class com.liulishuo.filedownloader.services.FileDownloadService.SharedMainProcessService
 
show(boolean) - Method in class com.liulishuo.filedownloader.notification.BaseNotificationItem
 
show(boolean, int, boolean) - Method in class com.liulishuo.filedownloader.notification.BaseNotificationItem
 
showIndeterminate(int, int) - Method in class com.liulishuo.filedownloader.notification.FileDownloadNotificationHelper
Show the notification with indeterminate progress.
showIndeterminate(BaseDownloadTask) - Method in class com.liulishuo.filedownloader.notification.FileDownloadNotificationListener
 
showProgress(int, int, int) - Method in class com.liulishuo.filedownloader.notification.FileDownloadNotificationHelper
Show the notification with the exact progress.
showProgress(BaseDownloadTask, int, int) - Method in class com.liulishuo.filedownloader.notification.FileDownloadNotificationListener
 
shutdown() - Method in class com.liulishuo.filedownloader.util.FileDownloadSerialQueue
Attempts to stop the working task, halts the processing of waiting tasks, and returns a list of the tasks that were awaiting execution.
SmallMessageSnapshot - Class in com.liulishuo.filedownloader.message
A message snapshot for a small file(the length is less than 2G).
SmallMessageSnapshot.CompletedFlowDirectlySnapshot - Class in com.liulishuo.filedownloader.message
 
SmallMessageSnapshot.CompletedSnapshot - Class in com.liulishuo.filedownloader.message
 
SmallMessageSnapshot.ConnectedMessageSnapshot - Class in com.liulishuo.filedownloader.message
 
SmallMessageSnapshot.ErrorMessageSnapshot - Class in com.liulishuo.filedownloader.message
 
SmallMessageSnapshot.PausedSnapshot - Class in com.liulishuo.filedownloader.message
 
SmallMessageSnapshot.PendingMessageSnapshot - Class in com.liulishuo.filedownloader.message
 
SmallMessageSnapshot.ProgressMessageSnapshot - Class in com.liulishuo.filedownloader.message
 
SmallMessageSnapshot.RetryMessageSnapshot - Class in com.liulishuo.filedownloader.message
 
SmallMessageSnapshot.WarnFlowDirectlySnapshot - Class in com.liulishuo.filedownloader.message
 
SmallMessageSnapshot.WarnMessageSnapshot - Class in com.liulishuo.filedownloader.message
 
SOFAR - Static variable in class com.liulishuo.filedownloader.model.FileDownloadModel
 
SqliteDatabaseImpl - Class in com.liulishuo.filedownloader.database
Persist data to SQLite database.
SqliteDatabaseImpl() - Constructor for class com.liulishuo.filedownloader.database.SqliteDatabaseImpl
 
SqliteDatabaseImpl.Maintainer - Class in com.liulishuo.filedownloader.database
 
SqliteDatabaseImpl.Maker - Class in com.liulishuo.filedownloader.database
 
SqliteDatabaseOpenHelper - Class in com.liulishuo.filedownloader.database
The default opener of the filedownloader database helper.
SqliteDatabaseOpenHelper(Context) - Constructor for class com.liulishuo.filedownloader.database.SqliteDatabaseOpenHelper
 
start() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
Start this task in parallel.
start(long) - Method in class com.liulishuo.filedownloader.DownloadSpeedMonitor
 
start() - Method in class com.liulishuo.filedownloader.DownloadTask
 
start() - Method in class com.liulishuo.filedownloader.DownloadTaskHunter
 
start(FileDownloadListener, boolean) - Method in class com.liulishuo.filedownloader.FileDownloader
Start the download queue by the same listener.
start() - Method in class com.liulishuo.filedownloader.FileDownloadQueueSet
Start tasks in a queue.
start(String, String, boolean, int, int, int, boolean, FileDownloadHeader, boolean) - Method in class com.liulishuo.filedownloader.FileDownloadServiceProxy
 
start(long) - Method in interface com.liulishuo.filedownloader.IDownloadSpeed.Monitor
Start the monitor.
start(String, String, boolean, int, int, int, boolean, FileDownloadHeader, boolean) - Method in interface com.liulishuo.filedownloader.IFileDownloadServiceProxy
 
start() - Method in interface com.liulishuo.filedownloader.ITaskHunter.IStarter
Start the task in the launcher thread.
start(String, String, boolean, int, int, int, boolean, FileDownloadHeader, boolean) - Method in class com.liulishuo.filedownloader.services.FDServiceSeparateHandler
 
start(String, String, boolean, int, int, int, boolean, FileDownloadHeader, boolean) - Method in class com.liulishuo.filedownloader.services.FDServiceSharedHandler
 
start(String, String, boolean) - Static method in class com.liulishuo.filedownloader.util.DownloadServiceNotConnectedHelper
 
START_OFFSET - Static variable in class com.liulishuo.filedownloader.model.ConnectionModel
 
started(BaseDownloadTask) - Method in class com.liulishuo.filedownloader.FileDownloadListener
Finish pending, and start the download runnable.
started - Static variable in class com.liulishuo.filedownloader.model.FileDownloadStatus
When the task on started status, it means that the network access thread of downloading this task is started.
started(BaseDownloadTask) - Method in class com.liulishuo.filedownloader.notification.FileDownloadNotificationListener
 
startForeground(int, Notification) - Method in class com.liulishuo.filedownloader.FileDownloader
Start the notification with the id.
startForeground(int, Notification) - Method in class com.liulishuo.filedownloader.FileDownloadLine
startForeground(int, Notification) - Method in class com.liulishuo.filedownloader.FileDownloadLineAsync
startForeground(int, Notification) - Method in class com.liulishuo.filedownloader.FileDownloadServiceProxy
 
startForeground(int, Notification) - Method in interface com.liulishuo.filedownloader.IFileDownloadServiceProxy
 
startForeground(int, Notification) - Method in class com.liulishuo.filedownloader.services.FDServiceSeparateHandler
 
startForeground(int, Notification) - Method in class com.liulishuo.filedownloader.services.FDServiceSharedHandler
 
startForeground(int, Notification) - Static method in class com.liulishuo.filedownloader.util.DownloadServiceNotConnectedHelper
 
startQueueParallel(FileDownloadListener) - Method in interface com.liulishuo.filedownloader.IQueuesHandler
Start tasks which the same listener as a queue, and execute theme in parallel.
startQueueSerial(FileDownloadListener) - Method in interface com.liulishuo.filedownloader.IQueuesHandler
Start tasks which the same listener as a queue, and execute theme one by one.
startService(Context) - Method in class com.liulishuo.filedownloader.services.BaseFileServiceUIGuard
 
startTaskByQueue() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask.IRunningTask
Start the task by the queue handler.
startTaskByQueue() - Method in class com.liulishuo.filedownloader.DownloadTask
 
startTaskByRescue() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask.IRunningTask
Start the task just because this task can't started by pass, and now, we try to rescue this task and start it.
startTaskByRescue() - Method in class com.liulishuo.filedownloader.DownloadTask
 
STATUS - Static variable in class com.liulishuo.filedownloader.model.FileDownloadModel
 
stopForeground(boolean) - Method in class com.liulishuo.filedownloader.FileDownloader
Remove the downloader service from the foreground state, allowing it to be killed if more memory is needed.
stopForeground(boolean) - Method in class com.liulishuo.filedownloader.FileDownloadServiceProxy
 
stopForeground(boolean) - Method in interface com.liulishuo.filedownloader.IFileDownloadServiceProxy
 
stopForeground(boolean) - Method in class com.liulishuo.filedownloader.services.FDServiceSeparateHandler
 
stopForeground(boolean) - Method in class com.liulishuo.filedownloader.services.FDServiceSharedHandler
 
stopForeground(boolean) - Static method in class com.liulishuo.filedownloader.util.DownloadServiceNotConnectedHelper
 
supportSeek() - Method in class com.liulishuo.filedownloader.stream.FileDownloadRandomAccessFile.Creator
 
supportSeek() - Method in interface com.liulishuo.filedownloader.util.FileDownloadHelper.OutputStreamCreator
 
syncProgressFromCache() - Method in class com.liulishuo.filedownloader.download.DownloadLaunchRunnable
 
syncProgressFromCache() - Method in interface com.liulishuo.filedownloader.download.ProcessCallback
 

T

TABLE_NAME - Static variable in class com.liulishuo.filedownloader.database.SqliteDatabaseImpl
 
take(byte, FileDownloadModel) - Static method in class com.liulishuo.filedownloader.message.MessageSnapshotTaker
 
take(byte, FileDownloadModel, DownloadStatusCallback.ProcessParams) - Static method in class com.liulishuo.filedownloader.message.MessageSnapshotTaker
 
takeBlockCompleted(MessageSnapshot) - Static method in class com.liulishuo.filedownloader.message.MessageSnapshotTaker
 
taskWorkFine(BaseDownloadTask.IRunningTask) - Method in interface com.liulishuo.filedownloader.ILostServiceConnectedHandler
 
taskWorkFine(BaseDownloadTask.IRunningTask) - Method in class com.liulishuo.filedownloader.LostServiceConnectedHandler
 
toContentValues() - Method in class com.liulishuo.filedownloader.model.ConnectionModel
 
toContentValues() - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
 
toFileDownloadService - Static variable in class com.liulishuo.filedownloader.model.FileDownloadStatus
When the task on toFileDownloadService status, it means that the task is just post to the FileDownloadService.
toLaunchPool - Static variable in class com.liulishuo.filedownloader.model.FileDownloadStatus
When the task on toLaunchPool status, it means that the task is just into the LaunchPool and is scheduled for launch.
toString() - Method in class com.liulishuo.filedownloader.download.ConnectionProfile
 
toString() - Method in class com.liulishuo.filedownloader.DownloadTask
 
toString() - Method in class com.liulishuo.filedownloader.model.ConnectionModel
 
toString() - Method in class com.liulishuo.filedownloader.model.FileDownloadHeader
 
toString() - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
 
toString() - Method in class com.liulishuo.filedownloader.services.DownloadMgrInitialParams.InitCustomMaker
 
toString() - Method in class com.liulishuo.filedownloader.services.ForegroundServiceConfig
 
TOTAL - Static variable in class com.liulishuo.filedownloader.model.FileDownloadModel
 
TOTAL_VALUE_IN_CHUNKED_RESOURCE - Static variable in class com.liulishuo.filedownloader.model.FileDownloadModel
 
transmitToCompleted() - Method in class com.liulishuo.filedownloader.message.BlockCompleteMessage.BlockCompleteMessageImpl
 
transmitToCompleted() - Method in interface com.liulishuo.filedownloader.message.BlockCompleteMessage
 
transOldId(int, String, String, boolean) - Method in class com.liulishuo.filedownloader.services.DefaultIdGenerator
 
transOldId(int, String, String, boolean) - Method in interface com.liulishuo.filedownloader.util.FileDownloadHelper.IdGenerator
Invoke this method when the data is restoring from the database.
trialConnectionHeadMethod - Variable in class com.liulishuo.filedownloader.util.FileDownloadProperties
 
turnToPending() - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.WarnMessageSnapshot
 
turnToPending() - Method in interface com.liulishuo.filedownloader.message.MessageSnapshot.IWarnMessageSnapshot
 
turnToPending() - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.WarnMessageSnapshot
 

U

unbindByContext(Context) - Method in class com.liulishuo.filedownloader.FileDownloadServiceProxy
 
unbindByContext(Context) - Method in interface com.liulishuo.filedownloader.IFileDownloadServiceProxy
 
unbindByContext(Context) - Method in class com.liulishuo.filedownloader.services.BaseFileServiceUIGuard
 
unBindService() - Method in class com.liulishuo.filedownloader.FileDownloader
Unbind and stop the downloader service.
unBindServiceIfIdle() - Method in class com.liulishuo.filedownloader.FileDownloader
Unbind and stop the downloader service when there is no task running in the FileDownloader.
unFreezeSerialQueues(List<Integer>) - Method in interface com.liulishuo.filedownloader.IQueuesHandler
 
unregisterCallback(INTERFACE, CALLBACK) - Method in class com.liulishuo.filedownloader.services.BaseFileServiceUIGuard
 
unregisterCallback(IFileDownloadIPCCallback) - Method in class com.liulishuo.filedownloader.services.FDServiceSeparateHandler
 
unregisterCallback(IFileDownloadIPCCallback) - Method in class com.liulishuo.filedownloader.services.FDServiceSharedHandler
 
update(FileDownloadModel) - Method in interface com.liulishuo.filedownloader.database.FileDownloadDatabase
Update the data compare to the downloadModel
update(FileDownloadModel) - Method in class com.liulishuo.filedownloader.database.NoDatabaseImpl
 
update(FileDownloadModel) - Method in class com.liulishuo.filedownloader.database.RemitDatabase
 
update(FileDownloadModel) - Method in class com.liulishuo.filedownloader.database.SqliteDatabaseImpl
 
update(long) - Method in class com.liulishuo.filedownloader.DownloadSpeedMonitor
 
update(long) - Method in interface com.liulishuo.filedownloader.IDownloadSpeed.Monitor
Refresh the downloading speed.
update(int, int) - Method in class com.liulishuo.filedownloader.notification.BaseNotificationItem
 
updateCompleted(int, long) - Method in interface com.liulishuo.filedownloader.database.FileDownloadDatabase
Update the data because of the download status alternative to FileDownloadStatus.completed.
updateCompleted(int, long) - Method in class com.liulishuo.filedownloader.database.NoDatabaseImpl
 
updateCompleted(int, long) - Method in class com.liulishuo.filedownloader.database.RemitDatabase
 
updateCompleted(int, long) - Method in class com.liulishuo.filedownloader.database.SqliteDatabaseImpl
 
updateConnected(int, long, String, String) - Method in interface com.liulishuo.filedownloader.database.FileDownloadDatabase
Update the data because of the download status alternative to FileDownloadStatus.connected.
updateConnected(int, long, String, String) - Method in class com.liulishuo.filedownloader.database.NoDatabaseImpl
 
updateConnected(int, long, String, String) - Method in class com.liulishuo.filedownloader.database.RemitDatabase
 
updateConnected(int, long, String, String) - Method in class com.liulishuo.filedownloader.database.SqliteDatabaseImpl
 
updateConnectionCount(int, int) - Method in interface com.liulishuo.filedownloader.database.FileDownloadDatabase
Update the count of connection.
updateConnectionCount(int, int) - Method in class com.liulishuo.filedownloader.database.NoDatabaseImpl
 
updateConnectionCount(int, int) - Method in class com.liulishuo.filedownloader.database.RemitDatabase
 
updateConnectionCount(int, int) - Method in class com.liulishuo.filedownloader.database.SqliteDatabaseImpl
 
updateConnectionModel(int, int, long) - Method in interface com.liulishuo.filedownloader.database.FileDownloadDatabase
Update the currentOffset with currentOffset which id is id, index is index
updateConnectionModel(int, int, long) - Method in class com.liulishuo.filedownloader.database.NoDatabaseImpl
 
updateConnectionModel(int, int, long) - Method in class com.liulishuo.filedownloader.database.RemitDatabase
 
updateConnectionModel(int, int, long) - Method in class com.liulishuo.filedownloader.database.SqliteDatabaseImpl
 
updateError(int, Throwable, long) - Method in interface com.liulishuo.filedownloader.database.FileDownloadDatabase
Update the data because of the download status alternative to FileDownloadStatus.error.
updateError(int, Throwable, long) - Method in class com.liulishuo.filedownloader.database.NoDatabaseImpl
 
updateError(int, Throwable, long) - Method in class com.liulishuo.filedownloader.database.RemitDatabase
 
updateError(int, Throwable, long) - Method in class com.liulishuo.filedownloader.database.SqliteDatabaseImpl
 
updateKeepAhead(MessageSnapshot) - Method in class com.liulishuo.filedownloader.DownloadTaskHunter
 
updateKeepAhead(MessageSnapshot) - Method in interface com.liulishuo.filedownloader.ITaskHunter.IMessageHandler
Try to dispatch the snapshot with the keep ahead policy.
updateKeepFlow(MessageSnapshot) - Method in class com.liulishuo.filedownloader.DownloadTaskHunter
 
updateKeepFlow(MessageSnapshot) - Method in interface com.liulishuo.filedownloader.ITaskHunter.IMessageHandler
Try to dispatch the snapshot with the keep right flow policy.
updateMoreLikelyCompleted(MessageSnapshot) - Method in class com.liulishuo.filedownloader.DownloadTaskHunter
 
updateMoreLikelyCompleted(MessageSnapshot) - Method in interface com.liulishuo.filedownloader.ITaskHunter.IMessageHandler
Try to dispatch the snapshot with the more likely completed policy.
updateOldEtagOverdue(int, String, long, long, int) - Method in interface com.liulishuo.filedownloader.database.FileDownloadDatabase
Update when the old one is overdue.
updateOldEtagOverdue(int, String, long, long, int) - Method in class com.liulishuo.filedownloader.database.NoDatabaseImpl
 
updateOldEtagOverdue(int, String, long, long, int) - Method in class com.liulishuo.filedownloader.database.RemitDatabase
 
updateOldEtagOverdue(int, String, long, long, int) - Method in class com.liulishuo.filedownloader.database.SqliteDatabaseImpl
 
updatePause(int, long) - Method in interface com.liulishuo.filedownloader.database.FileDownloadDatabase
Update the data because of the download status alternative to FileDownloadStatus.paused.
updatePause(int, long) - Method in class com.liulishuo.filedownloader.database.NoDatabaseImpl
 
updatePause(int, long) - Method in class com.liulishuo.filedownloader.database.RemitDatabase
 
updatePause(int, long) - Method in class com.liulishuo.filedownloader.database.SqliteDatabaseImpl
 
updatePending(int) - Method in interface com.liulishuo.filedownloader.database.FileDownloadDatabase
Update the data because of the download status alternative to FileDownloadStatus.pending.
updatePending(int) - Method in class com.liulishuo.filedownloader.database.NoDatabaseImpl
 
updatePending(int) - Method in class com.liulishuo.filedownloader.database.RemitDatabase
 
updatePending(int) - Method in class com.liulishuo.filedownloader.database.SqliteDatabaseImpl
 
updateProgress(int, long) - Method in interface com.liulishuo.filedownloader.database.FileDownloadDatabase
Update the sofar bytes with the status progress, so don't forget to store the FileDownloadStatus.progress too.
updateProgress(int, long) - Method in class com.liulishuo.filedownloader.database.NoDatabaseImpl
 
updateProgress(int, long) - Method in class com.liulishuo.filedownloader.database.RemitDatabase
 
updateProgress(int, long) - Method in class com.liulishuo.filedownloader.database.SqliteDatabaseImpl
 
updateRetry(int, Throwable) - Method in interface com.liulishuo.filedownloader.database.FileDownloadDatabase
Update the data because of the download status alternative to FileDownloadStatus.retry.
updateRetry(int, Throwable) - Method in class com.liulishuo.filedownloader.database.NoDatabaseImpl
 
updateRetry(int, Throwable) - Method in class com.liulishuo.filedownloader.database.RemitDatabase
 
updateRetry(int, Throwable) - Method in class com.liulishuo.filedownloader.database.SqliteDatabaseImpl
 
updateSameFilePathTaskRunning(MessageSnapshot) - Method in class com.liulishuo.filedownloader.DownloadTaskHunter
 
updateSameFilePathTaskRunning(MessageSnapshot) - Method in interface com.liulishuo.filedownloader.ITaskHunter.IMessageHandler
Try to dispatch the snapshot with the same file path policy.
updateStatus(int) - Method in class com.liulishuo.filedownloader.notification.BaseNotificationItem
 
URL - Static variable in class com.liulishuo.filedownloader.model.FileDownloadModel
 

V

v(Object, String, Object...) - Static method in class com.liulishuo.filedownloader.util.FileDownloadLog
 
valueOf(String) - Static method in enum com.liulishuo.filedownloader.event.DownloadServiceConnectChangedEvent.ConnectStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.liulishuo.filedownloader.event.DownloadServiceConnectChangedEvent.ConnectStatus
Returns an array containing the constants of this enum type, in the order they are declared.

W

w(Object, String, Object...) - Static method in class com.liulishuo.filedownloader.util.FileDownloadLog
 
warn(BaseDownloadTask) - Method in class com.liulishuo.filedownloader.FileDownloadListener
There has already had some same Tasks(Same-URL & Same-SavePath) in Pending-Queue or is running.
warn(BaseDownloadTask) - Method in class com.liulishuo.filedownloader.FileDownloadSampleListener
 
warn - Static variable in class com.liulishuo.filedownloader.model.FileDownloadStatus
When the task on warn status, it means that there is another same task(same url, same path to store content) is running.
warn(BaseDownloadTask) - Method in class com.liulishuo.filedownloader.notification.FileDownloadNotificationListener
 
write(byte[], int, int) - Method in interface com.liulishuo.filedownloader.stream.FileDownloadOutputStream
Writes len bytes from the specified byte array starting at offset off to this file.
write(byte[], int, int) - Method in class com.liulishuo.filedownloader.stream.FileDownloadRandomAccessFile
 
writeToParcel(Parcel, int) - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.CompletedSnapshot
 
writeToParcel(Parcel, int) - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.ConnectedMessageSnapshot
 
writeToParcel(Parcel, int) - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.ErrorMessageSnapshot
 
writeToParcel(Parcel, int) - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.PendingMessageSnapshot
 
writeToParcel(Parcel, int) - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.ProgressMessageSnapshot
 
writeToParcel(Parcel, int) - Method in class com.liulishuo.filedownloader.message.LargeMessageSnapshot.RetryMessageSnapshot
 
writeToParcel(Parcel, int) - Method in class com.liulishuo.filedownloader.message.MessageSnapshot
 
writeToParcel(Parcel, int) - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.CompletedSnapshot
 
writeToParcel(Parcel, int) - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.ConnectedMessageSnapshot
 
writeToParcel(Parcel, int) - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.ErrorMessageSnapshot
 
writeToParcel(Parcel, int) - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.PendingMessageSnapshot
 
writeToParcel(Parcel, int) - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.ProgressMessageSnapshot
 
writeToParcel(Parcel, int) - Method in class com.liulishuo.filedownloader.message.SmallMessageSnapshot.RetryMessageSnapshot
 
writeToParcel(Parcel, int) - Method in class com.liulishuo.filedownloader.model.FileDownloadHeader
 
writeToParcel(Parcel, int) - Method in class com.liulishuo.filedownloader.model.FileDownloadModel
 
writeToParcel(Parcel, int) - Method in class com.liulishuo.filedownloader.model.FileDownloadTaskAtom
Deprecated.
 
A B C D E F G H I K L M N O P R S T U V W 
Skip navigation links