- Factory(FileDownloadHelper.ConnectionCreator) - Constructor for class com.liulishuo.filedownloader.connection.DownloadConnectionAdapter.Factory
-
- Factory(FileDownloadHelper.OutputStreamCreator) - Constructor for class com.liulishuo.filedownloader.stream.DownloadOutputStreamAdapter.Factory
-
- fetchEnd(DownloadTask, int, long) - Method in class com.liulishuo.filedownloader.CompatListenerAdapter
-
- fetchProgress(DownloadTask, int, long) - Method in class com.liulishuo.filedownloader.CompatListenerAdapter
-
- fetchProgress(DownloadTask, long) - Method in class com.liulishuo.filedownloader.CompatListenerAssist
-
- fetchStart(DownloadTask, int, long) - Method in class com.liulishuo.filedownloader.CompatListenerAdapter
-
- FileDownloadConnection - Interface in com.liulishuo.filedownloader.connection
-
The connection used for connecting to the network.
- FileDownloadConnectListener - Class in com.liulishuo.filedownloader
-
Deprecated.
- FileDownloadConnectListener() - Constructor for class com.liulishuo.filedownloader.FileDownloadConnectListener
-
Deprecated.
- 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
-
- FileDownloader() - Constructor for class com.liulishuo.filedownloader.FileDownloader
-
- 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
-
- FileDownloadHelper - Class in com.liulishuo.filedownloader.util
-
The helper for cache the appContext 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
-
Deprecated.
- FileDownloadHelper.ConnectionCreator - Interface in com.liulishuo.filedownloader.util
-
- FileDownloadHelper.DatabaseCustomMaker - Interface in com.liulishuo.filedownloader.util
-
Deprecated.
- FileDownloadHelper.IdGenerator - Interface in com.liulishuo.filedownloader.util
-
Deprecated.
- FileDownloadHelper.OkHttpClientCustomMaker - 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
-
Deprecated.
- FileDownloadLineAsync() - Constructor for class com.liulishuo.filedownloader.FileDownloadLineAsync
-
Deprecated.
- FileDownloadList - Class in com.liulishuo.filedownloader
-
Storing all tasks in processing in the Main-Process.
- FileDownloadListener - Class in com.liulishuo.filedownloader
-
- FileDownloadListener() - Constructor for class com.liulishuo.filedownloader.FileDownloadListener
-
- FileDownloadListener(int) - Constructor for class com.liulishuo.filedownloader.FileDownloadListener
-
- 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
-
- 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.
- FileDownloadQueueSet - Class in com.liulishuo.filedownloader
-
- FileDownloadQueueSet(FileDownloadListener) - Constructor for class com.liulishuo.filedownloader.FileDownloadQueueSet
-
- 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
-
- FileDownloadSerialQueue(DownloadSerialQueue, UnifiedListenerManager) - Constructor for class com.liulishuo.filedownloader.util.FileDownloadSerialQueue
-
- FileDownloadStatus - Class in com.liulishuo.filedownloader.model
-
- FileDownloadStatus() - Constructor for class com.liulishuo.filedownloader.model.FileDownloadStatus
-
- 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
-
- find(int) - Method in interface com.liulishuo.filedownloader.database.FileDownloadDatabase
-
Find the model which identify is id.
- findConnectionModel(int) - Method in interface com.liulishuo.filedownloader.database.FileDownloadDatabase
-
Find the connection model which download identify is id
- findDownloadTaskAdapter(DownloadTask) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
-
- flushAndSync() - Method in class com.liulishuo.filedownloader.stream.DownloadOutputStreamAdapter
-
- 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.
- foregroundServiceConfig(ForegroundServiceConfig) - Method in class com.liulishuo.filedownloader.services.DownloadMgrInitialParams.InitCustomMaker
-
- ForegroundServiceConfig - Class in com.liulishuo.filedownloader.services
-
Deprecated.
- ForegroundServiceConfig.Builder - Class in com.liulishuo.filedownloader.services
-
Deprecated.
- 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.DownloadTaskAdapter
-
- free() - Method in interface com.liulishuo.filedownloader.ITaskHunter
-
Free the current hunter.
- 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 interface com.liulishuo.filedownloader.util.FileDownloadHelper.IdGenerator
-
Deprecated.
- generateId(String, String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
-
Deprecated.
- generateId(String, String, boolean) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
-
Deprecated.
- 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.DownloadTaskAdapter
-
- getAutoRetryTimes() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
- getAutoRetryTimes() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- getBreakpointBytes() - Method in exception com.liulishuo.filedownloader.exception.FileDownloadOutOfSpaceException
-
- getCallbackProgressMinInterval() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
- getCallbackProgressMinInterval() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- getCallbackProgressTimes() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
- getCallbackProgressTimes() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- getCode() - Method in exception com.liulishuo.filedownloader.exception.FileDownloadHttpException
-
- getCompatListener() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- 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.DownloadTaskAdapter
-
- getDownloadingConflictPath() - Method in exception com.liulishuo.filedownloader.exception.PathConflictException
-
- getDownloadTask() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- getDownloadTask() - Method in class com.liulishuo.filedownloader.status.StatusAssist
-
- getErrorCause() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
- getErrorCause() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- getErrorCause() - Method in interface com.liulishuo.filedownloader.ITaskHunter
-
- getEtag() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
- getEtag() - Method in class com.liulishuo.filedownloader.CompatListenerAssist
-
- getEtag() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- getEtag() - Method in interface com.liulishuo.filedownloader.ITaskHunter
-
- getEtag() - Method in class com.liulishuo.filedownloader.message.MessageSnapshot
-
- getEx() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
- getEx() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- getException() - Method in class com.liulishuo.filedownloader.CompatListenerAssist
-
- getFilename() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
- getFilename() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- getFileName() - Method in class com.liulishuo.filedownloader.message.MessageSnapshot
-
- getFinishListeners() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- getFreeSpaceBytes() - Method in exception com.liulishuo.filedownloader.exception.FileDownloadOutOfSpaceException
-
- getFreeSpaceBytes(String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
-
- getHelper() - Method in class com.liulishuo.filedownloader.notification.FileDownloadNotificationListener
-
- getId() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
- getId() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- 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.notification.BaseNotificationItem
-
- getImpl() - Static method in class com.liulishuo.filedownloader.FileDownloader
-
- getImpl() - Static method in class com.liulishuo.filedownloader.FileDownloadList
-
- getInputStream() - Method in class com.liulishuo.filedownloader.connection.DownloadConnectionAdapter
-
- 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.DownloadTaskAdapter
-
- 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.DownloadTaskAdapter
-
- getLargeSofarBytes() - Method in class com.liulishuo.filedownloader.message.MessageSnapshot
-
- getLargeTotalBytes() - Method in class com.liulishuo.filedownloader.message.MessageSnapshot
-
- getLastStatus() - Method in class com.liulishuo.filedownloader.notification.BaseNotificationItem
-
- getListener() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
- getListener() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- getListenerAssist() - Method in class com.liulishuo.filedownloader.CompatListenerAdapter
-
- getManager() - Method in class com.liulishuo.filedownloader.notification.BaseNotificationItem
-
- getMessageHandler() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask.IRunningTask
-
- getMessageHandler() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- getMessenger() - Method in interface com.liulishuo.filedownloader.ITaskHunter.IMessageHandler
-
- getMinProgressStep() - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
-
Deprecated.
- getMinProgressTime() - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
-
Deprecated.
- getMonitor() - Static method in class com.liulishuo.filedownloader.FileDownloadMonitor
-
- getOrigin() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask.IRunningTask
-
- getOrigin() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- 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.DownloadTaskAdapter
-
- 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.DownloadTaskAdapter
-
- getProgressAssist() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- getRedirectLocation() - Method in class com.liulishuo.filedownloader.connection.DownloadConnectionAdapter
-
- 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
-
- getRequestProperties() - Method in class com.liulishuo.filedownloader.connection.DownloadConnectionAdapter
-
- getRequestProperty(String) - Method in class com.liulishuo.filedownloader.connection.DownloadConnectionAdapter
-
- getRequiredSpaceBytes() - Method in exception com.liulishuo.filedownloader.exception.FileDownloadOutOfSpaceException
-
- getResponseCode() - Method in class com.liulishuo.filedownloader.connection.DownloadConnectionAdapter
-
- 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 class com.liulishuo.filedownloader.connection.DownloadConnectionAdapter
-
- 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 class com.liulishuo.filedownloader.connection.DownloadConnectionAdapter
-
- 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
-
- getRetriedTimes() - Method in class com.liulishuo.filedownloader.retry.RetryAssist
-
- getRetryAssist() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- getRetryingTimes() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
- getRetryingTimes() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- getRetryingTimes() - Method in interface com.liulishuo.filedownloader.ITaskHunter
-
- getRetryingTimes() - Method in class com.liulishuo.filedownloader.message.MessageSnapshot
-
- 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.DownloadTaskAdapter
-
- 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.DownloadTaskAdapter
-
- getSmallSofarBytes() - Method in class com.liulishuo.filedownloader.message.MessageSnapshot
-
- getSmallTotalBytes() - Method in class com.liulishuo.filedownloader.message.MessageSnapshot
-
- 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() - Method in class com.liulishuo.filedownloader.notification.BaseNotificationItem
-
- getSoFarBytes() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
- getSoFarBytes() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- getSofarBytes() - Method in interface com.liulishuo.filedownloader.ITaskHunter
-
- getSofarBytes() - Method in class com.liulishuo.filedownloader.progress.ProgressAssist
-
- getSoFarBytesInLong() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- getSpeed() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
Get the downloading speed.
- getSpeed() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- getSpeed() - Method in interface com.liulishuo.filedownloader.IDownloadSpeed.Lookup
-
- getSpeed() - Method in class com.liulishuo.filedownloader.progress.ProgressAssist
-
- 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
-
- getStatus() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
- getStatus() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- getStatus(String, String) - Method in class com.liulishuo.filedownloader.FileDownloader
-
- getStatus(int, String) - Method in class com.liulishuo.filedownloader.FileDownloader
-
Deprecated.
- getStatus(int, String) - Method in class com.liulishuo.filedownloader.FileDownloadLine
-
- getStatus() - Method in interface com.liulishuo.filedownloader.ITaskHunter
-
- getStatus() - Method in class com.liulishuo.filedownloader.message.MessageSnapshot.StartedMessageSnapshot
-
- getStatus() - Method in class com.liulishuo.filedownloader.notification.BaseNotificationItem
-
- getStatus() - Method in class com.liulishuo.filedownloader.status.StatusAssist
-
- getStatusIgnoreCompleted(int) - Method in class com.liulishuo.filedownloader.FileDownloader
-
Deprecated.
- 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.DownloadTaskAdapter
-
- getTag(int) - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- getTargetFilePath() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
- getTargetFilePath() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- 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(String, boolean, String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
-
- getTempPath(String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
-
Deprecated.
- getThreadPoolName(String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
-
Deprecated.
- getThrowable() - Method in class com.liulishuo.filedownloader.message.MessageSnapshot
-
- 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() - Method in class com.liulishuo.filedownloader.notification.BaseNotificationItem
-
- getTotalBytes() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
- getTotalBytes() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- getTotalBytes() - Method in interface com.liulishuo.filedownloader.ITaskHunter
-
- getTotalBytesInLong() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- getUrl() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
- getUrl() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- getWaitingTaskCount() - Method in class com.liulishuo.filedownloader.util.FileDownloadSerialQueue
-
Get the count of tasks which is waiting on this queue.
- getWorkingTaskId() - Method in class com.liulishuo.filedownloader.util.FileDownloadSerialQueue
-
Returns the identify of the working task, if there is task is working, you will receive
DownloadSerialQueue.ID_INVALID.
- id - Variable in class com.liulishuo.filedownloader.event.IDownloadEvent
-
- idGenerator(FileDownloadHelper.IdGenerator) - Method in class com.liulishuo.filedownloader.services.DownloadMgrInitialParams.InitCustomMaker
-
- 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.
- ignoreEachTaskInternalProgress() - Method in class com.liulishuo.filedownloader.FileDownloadQueueSet
-
- init(Context) - Static method in class com.liulishuo.filedownloader.FileDownloader
-
- init(Context, FileDownloadHelper.OkHttpClientCustomMaker) - Static method in class com.liulishuo.filedownloader.FileDownloader
-
- init(Context, FileDownloadHelper.OkHttpClientCustomMaker, int) - Static method in class com.liulishuo.filedownloader.FileDownloader
-
Initial a OkDownload instance.
- InitCustomMaker(Context) - Constructor for class com.liulishuo.filedownloader.services.DownloadMgrInitialParams.InitCustomMaker
-
- initSofarBytes(long) - Method in class com.liulishuo.filedownloader.progress.ProgressAssist
-
- insert(FileDownloadModel) - Method in interface com.liulishuo.filedownloader.database.FileDownloadDatabase
-
Insert the model to the database.
- insertConnectionModel(ConnectionModel) - Method in interface com.liulishuo.filedownloader.database.FileDownloadDatabase
-
Insert the model to connection table.
- insureAssembleDownloadTask() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- insureServiceBind() - Method in class com.liulishuo.filedownloader.FileDownloader
-
Because there is no any service, the FileDownloadLine will not do any wait action.
- insureServiceBindAsync() - Method in class com.liulishuo.filedownloader.FileDownloader
-
Deprecated.
- interceptCancel(BaseDownloadTask, BaseNotificationItem) - Method in class com.liulishuo.filedownloader.notification.FileDownloadNotificationListener
-
- 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.
- 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.DownloadTaskAdapter
-
- is(FileDownloadListener) - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- 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.DownloadTaskAdapter
-
- isChanged() - Method in class com.liulishuo.filedownloader.notification.BaseNotificationItem
-
- isContainFinishListener() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask.IRunningTask
-
Whether contain finish listener or not.
- isContainFinishListener() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- isContinue() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
- isContinue() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- isDownloaderProcess(Context) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
-
Deprecated.
- isEnabledAvoidDropFrame() - Static method in class com.liulishuo.filedownloader.FileDownloader
-
- isFilenameValid(String) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
-
Deprecated.
- isForceReDownload() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
- isForceReDownload() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- isIng(int) - Static method in class com.liulishuo.filedownloader.model.FileDownloadStatus
-
- isInvalid() - Method in class com.liulishuo.filedownloader.FileDownloadListener
-
- isLargeFile() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
- isLargeFile() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- isLargeFile() - Method in interface com.liulishuo.filedownloader.ITaskHunter
-
- isLargeFile() - Method in class com.liulishuo.filedownloader.message.MessageSnapshot
-
- isMarkedAdded2List() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask.IRunningTask
-
- isMarkedAdded2List() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- isNetworkNotOnWifiType() - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
-
Deprecated.
- isOver() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask.IRunningTask
-
- isOver() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- isOver(int) - Static method in class com.liulishuo.filedownloader.model.FileDownloadStatus
-
- isOver() - Method in class com.liulishuo.filedownloader.status.StatusAssist
-
- isPathAsDirectory() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
- isPathAsDirectory() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- isResumable() - Method in class com.liulishuo.filedownloader.CompatListenerAssist
-
- isResuming() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
- isResuming() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- isResuming() - Method in interface com.liulishuo.filedownloader.ITaskHunter
-
- isResuming() - Method in class com.liulishuo.filedownloader.message.MessageSnapshot
-
- isReusedDownloadedFile() - Method in class com.liulishuo.filedownloader.message.MessageSnapshot
-
- isReusedOldFile() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
- isReusedOldFile() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- isReusedOldFile() - Method in interface com.liulishuo.filedownloader.ITaskHunter
-
- isReuseOldFile() - Method in class com.liulishuo.filedownloader.CompatListenerAssist
-
- isRunning() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
- isRunning() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- isServiceConnected() - Method in class com.liulishuo.filedownloader.FileDownloader
-
Deprecated.
- isSyncCallback() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
- isSyncCallback() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- isUsing() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
- isUsing() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- isUsing() - Method in class com.liulishuo.filedownloader.status.StatusAssist
-
- isValid() - Static method in class com.liulishuo.filedownloader.FileDownloadMonitor
-
- isWifiRequired() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
- isWifiRequired() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- 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
-
The starter for the downloading task.
- seek(long) - Method in class com.liulishuo.filedownloader.stream.DownloadOutputStreamAdapter
-
- 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.
- 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.DownloadTaskAdapter
-
- setAttachKeyDefault() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask.IRunningTask
-
Set this task to the default key.
- setAttachKeyDefault() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- setAutoRetryTimes(int) - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
- setAutoRetryTimes(int) - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- setAutoRetryTimes(int) - Method in class com.liulishuo.filedownloader.FileDownloadQueueSet
-
- setCallbackProgressIgnored() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
- setCallbackProgressIgnored() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- setCallbackProgressMinInterval(int) - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
- setCallbackProgressMinInterval(int) - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- 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.DownloadTaskAdapter
-
- setCallbackProgressTimes(int) - Method in class com.liulishuo.filedownloader.FileDownloadQueueSet
-
- 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
-
- setDownloadTask(DownloadTask) - Method in class com.liulishuo.filedownloader.status.StatusAssist
-
- setEtag(String) - Method in class com.liulishuo.filedownloader.CompatListenerAssist
-
- setFinishListener(BaseDownloadTask.FinishListener) - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
- setFinishListener(BaseDownloadTask.FinishListener) - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- 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.DownloadTaskAdapter
-
- setForceReDownload(boolean) - Method in class com.liulishuo.filedownloader.FileDownloadQueueSet
-
- setGlobalHandleSubPackageSize(int) - Static method in class com.liulishuo.filedownloader.FileDownloader
-
Deprecated.
- 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.
- setId(int) - Method in class com.liulishuo.filedownloader.notification.BaseNotificationItem
-
- setLength(long) - Method in class com.liulishuo.filedownloader.stream.DownloadOutputStreamAdapter
-
- setLength(long) - Method in interface com.liulishuo.filedownloader.stream.FileDownloadOutputStream
-
Sets the length of this file.
- setListener(FileDownloadListener) - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
- setListener(FileDownloadListener) - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- setMaxNetworkThreadCount(int) - Method in class com.liulishuo.filedownloader.FileDownloader
-
Deprecated.
- setMinIntervalUpdateSpeed(int) - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
- setMinIntervalUpdateSpeed(int) - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- setMinIntervalUpdateSpeed(int) - Method in interface com.liulishuo.filedownloader.IDownloadSpeed.Lookup
-
- setMinProgressStep(int) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
-
Deprecated.
- setMinProgressTime(long) - Static method in class com.liulishuo.filedownloader.util.FileDownloadUtils
-
Deprecated.
- 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.DownloadTaskAdapter
-
- setPath(String, boolean) - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- setRequestMethod(String) - Method in class com.liulishuo.filedownloader.connection.DownloadConnectionAdapter
-
- 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
-
- setResumable(boolean) - Method in class com.liulishuo.filedownloader.CompatListenerAssist
-
- setSingleton(FileDownloadList) - Static method in class com.liulishuo.filedownloader.FileDownloadList
-
- setSofar(int) - Method in class com.liulishuo.filedownloader.notification.BaseNotificationItem
-
- 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.DownloadTaskAdapter
-
- 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.DownloadTaskAdapter
-
- setTag(int, Object) - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- setTag(Object) - Method in class com.liulishuo.filedownloader.FileDownloadQueueSet
-
- setTitle(String) - Method in class com.liulishuo.filedownloader.notification.BaseNotificationItem
-
- setTotal(int) - Method in class com.liulishuo.filedownloader.notification.BaseNotificationItem
-
- 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.
- 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.DownloadTaskAdapter
-
- setWifiRequired(boolean) - Method in class com.liulishuo.filedownloader.FileDownloadQueueSet
-
- 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.
- start() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask
-
Start this task in parallel.
- start() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- 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(long) - Method in interface com.liulishuo.filedownloader.IDownloadSpeed.Monitor
-
Start the monitor.
- start() - Method in interface com.liulishuo.filedownloader.ITaskHunter.IStarter
-
Start the task in the launcher thread.
- started(BaseDownloadTask) - Method in class com.liulishuo.filedownloader.CompatListenerAdaptee
-
- started(BaseDownloadTask) - Method in interface com.liulishuo.filedownloader.CompatListenerAssist.CompatListenerAssistCallback
-
- started(BaseDownloadTask) - Method in class com.liulishuo.filedownloader.FileDownloadListener
-
- 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
-
Deprecated.
- startForeground(int, Notification) - Method in class com.liulishuo.filedownloader.FileDownloadLine
-
Deprecated.
- startForeground(int, Notification) - Method in class com.liulishuo.filedownloader.FileDownloadLineAsync
-
Deprecated.
- startTaskByQueue() - Method in interface com.liulishuo.filedownloader.BaseDownloadTask.IRunningTask
-
Start the task by the queue handler.
- startTaskByQueue() - Method in class com.liulishuo.filedownloader.DownloadTaskAdapter
-
- 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.DownloadTaskAdapter
-
- StatusAssist - Class in com.liulishuo.filedownloader.status
-
- StatusAssist() - Constructor for class com.liulishuo.filedownloader.status.StatusAssist
-
- stopForeground(boolean) - Method in class com.liulishuo.filedownloader.FileDownloader
-
Deprecated.
- supportSeek() - Method in class com.liulishuo.filedownloader.stream.DownloadOutputStreamAdapter.Factory
-
- supportSeek() - Method in interface com.liulishuo.filedownloader.util.FileDownloadHelper.OutputStreamCreator
-