- 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
-
- 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
-
- 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
-
- 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
-
- clearMarker() - Static method in class com.liulishuo.filedownloader.PauseAllMarker
-
- 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
-
- 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
-
- createMarker() - Static method in class com.liulishuo.filedownloader.PauseAllMarker
-
- 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
-
- 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
-
- downloadSequentially(List<BaseDownloadTask>) - Method in class com.liulishuo.filedownloader.FileDownloadQueueSet
-
- 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
-
- downloadTogether(List<BaseDownloadTask>) - Method in class com.liulishuo.filedownloader.FileDownloadQueueSet
-
- 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
-
- 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
-
- 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
-
Normally flow:
FileDownloadListener.pending(com.liulishuo.filedownloader.BaseDownloadTask, int, int) ->
FileDownloadListener.started(com.liulishuo.filedownloader.BaseDownloadTask) ->
FileDownloadListener.connected(com.liulishuo.filedownloader.BaseDownloadTask, java.lang.String, boolean, int, int) ->
FileDownloadListener.progress(com.liulishuo.filedownloader.BaseDownloadTask, int, int)
->
FileDownloadListener.blockComplete(com.liulishuo.filedownloader.BaseDownloadTask) ->
FileDownloadListener.completed(com.liulishuo.filedownloader.BaseDownloadTask)
Maybe over with:
FileDownloadListener.paused(com.liulishuo.filedownloader.BaseDownloadTask, int, int)/
FileDownloadListener.completed(com.liulishuo.filedownloader.BaseDownloadTask)/
FileDownloadListener.error(com.liulishuo.filedownloader.BaseDownloadTask, java.lang.Throwable)/
FileDownloadListener.warn(com.liulishuo.filedownloader.BaseDownloadTask)
If the task has already downloaded and exist, you will only receive follow callbacks:
FileDownloadListener.blockComplete(com.liulishuo.filedownloader.BaseDownloadTask) ->
FileDownloadListener.completed(com.liulishuo.filedownloader.BaseDownloadTask)
- FileDownloadListener() - Constructor for class com.liulishuo.filedownloader.FileDownloadListener
-
- FileDownloadListener(int) - Constructor for class com.liulishuo.filedownloader.FileDownloadListener
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- getDownloadId() - Method in class com.liulishuo.filedownloader.DownloadTask
-
- getDownloadingConflictPath() - Method in exception com.liulishuo.filedownloader.exception.PathConflictException
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- IS_FOREGROUND - Static variable in class com.liulishuo.filedownloader.util.ExtraKeys
-
- 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
-
- isContinue() - Method in class com.liulishuo.filedownloader.DownloadTask
-
- 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
-
- isRunServiceForeground() - Method in class com.liulishuo.filedownloader.FileDownloadServiceProxy
-
- isRunServiceForeground() - Method in interface com.liulishuo.filedownloader.IFileDownloadServiceProxy
-
- isRunServiceForeground() - Method in class com.liulishuo.filedownloader.services.BaseFileServiceUIGuard
-
- 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.
- 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.
- PauseAllMarker - Class in com.liulishuo.filedownloader
-
- PauseAllMarker(IFileDownloadIPCService) - Constructor for class com.liulishuo.filedownloader.PauseAllMarker
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- runServiceForeground - Variable in class com.liulishuo.filedownloader.services.BaseFileServiceUIGuard
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- setTaskCompleted(List<FileDownloadTaskAtom>) - Method in class com.liulishuo.filedownloader.FileDownloader
-
- 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
-
- startPauseAllLooperCheck() - Method in class com.liulishuo.filedownloader.PauseAllMarker
-
- 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.
- 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
-
- stopPauseAllLooperCheck() - Method in class com.liulishuo.filedownloader.PauseAllMarker
-
- 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
-