跳过导航链接
A B C D E F G H I L M N O P R S T U 

A

accept(File, long, int) - 类 中的方法com.danikula.videocache.file.LruDiskUsage
 
accept(File, long, int) - 类 中的方法com.danikula.videocache.file.TotalCountLruDiskUsage
 
accept(File, long, int) - 类 中的方法com.danikula.videocache.file.TotalSizeLruDiskUsage
 
addHeaders(String) - 类 中的方法com.danikula.videocache.headers.EmptyHeadersInjector
 
addHeaders(String) - 接口 中的方法com.danikula.videocache.headers.HeaderInjector
Adds headers to server's requests for corresponding url.
append(byte[], int) - 类 中的方法com.danikula.videocache.ByteArrayCache
 
append(byte[], int) - 接口 中的方法com.danikula.videocache.Cache
 
append(byte[], int) - 类 中的方法com.danikula.videocache.file.FileCache
 
available() - 类 中的方法com.danikula.videocache.ByteArrayCache
 
available() - 接口 中的方法com.danikula.videocache.Cache
 
available() - 类 中的方法com.danikula.videocache.file.FileCache
 

B

build() - 类 中的方法com.danikula.videocache.HttpProxyCacheServer.Builder
Builds new instance of HttpProxyCacheServer.
Builder(Context) - 类 的构造器com.danikula.videocache.HttpProxyCacheServer.Builder
 
ByteArrayCache - com.danikula.videocache中的类
Simple memory based Cache implementation.
ByteArrayCache() - 类 的构造器com.danikula.videocache.ByteArrayCache
 
ByteArrayCache(byte[]) - 类 的构造器com.danikula.videocache.ByteArrayCache
 
ByteArraySource - com.danikula.videocache中的类
Simple memory based Source implementation.
ByteArraySource(byte[]) - 类 的构造器com.danikula.videocache.ByteArraySource
 

C

Cache - com.danikula.videocache中的接口
Cache for proxy.
cacheDirectory(File) - 类 中的方法com.danikula.videocache.HttpProxyCacheServer.Builder
Overrides default cache folder to be used for caching files.
CacheListener - com.danikula.videocache中的接口
Listener for cache availability.
checkAllNotNull(Object...) - 类 中的静态方法com.danikula.videocache.Preconditions
 
checkNotNull(T) - 类 中的静态方法com.danikula.videocache.Preconditions
 
checkNotNull(T, String) - 类 中的静态方法com.danikula.videocache.Preconditions
 
close() - 类 中的方法com.danikula.videocache.ByteArrayCache
 
close() - 类 中的方法com.danikula.videocache.ByteArraySource
 
close() - 接口 中的方法com.danikula.videocache.Cache
 
close() - 类 中的方法com.danikula.videocache.file.FileCache
 
close() - 类 中的方法com.danikula.videocache.HttpUrlSource
 
close() - 接口 中的方法com.danikula.videocache.Source
Closes source and release resources.
com.danikula.videocache - 程序包 com.danikula.videocache
 
com.danikula.videocache.file - 程序包 com.danikula.videocache.file
 
com.danikula.videocache.headers - 程序包 com.danikula.videocache.headers
 
com.danikula.videocache.sourcestorage - 程序包 com.danikula.videocache.sourcestorage
 
complete() - 类 中的方法com.danikula.videocache.ByteArrayCache
 
complete() - 接口 中的方法com.danikula.videocache.Cache
 
complete() - 类 中的方法com.danikula.videocache.file.FileCache
 
computeMD5(String) - 类 中的静态方法com.danikula.videocache.ProxyCacheUtils
 

D

disable() - 类 中的静态方法com.danikula.videocache.HttpProxyCacheDebuger
 
DiskUsage - com.danikula.videocache.file中的接口
Declares how FileCache will use disc space.
diskUsage(DiskUsage) - 类 中的方法com.danikula.videocache.HttpProxyCacheServer.Builder
Set custom DiskUsage logic for handling when to keep or clean cache.

E

EmptyHeadersInjector - com.danikula.videocache.headers中的类
Empty HeaderInjector implementation.
EmptyHeadersInjector() - 类 的构造器com.danikula.videocache.headers.EmptyHeadersInjector
 
enable() - 类 中的静态方法com.danikula.videocache.HttpProxyCacheDebuger
 

F

file - 类 中的变量com.danikula.videocache.file.FileCache
 
FileCache - com.danikula.videocache.file中的类
Cache that uses file for storing data.
FileCache(File) - 类 的构造器com.danikula.videocache.file.FileCache
 
FileCache(File, DiskUsage) - 类 的构造器com.danikula.videocache.file.FileCache
 
FileNameGenerator - com.danikula.videocache.file中的接口
Generator for files to be used for caching.
fileNameGenerator(FileNameGenerator) - 类 中的方法com.danikula.videocache.HttpProxyCacheServer.Builder
Overrides default cache file name generator Md5FileNameGenerator .

G

generate(String) - 接口 中的方法com.danikula.videocache.file.FileNameGenerator
 
generate(String) - 类 中的方法com.danikula.videocache.file.Md5FileNameGenerator
 
get(String) - 类 中的方法com.danikula.videocache.sourcestorage.NoSourceInfoStorage
 
get(String) - 接口 中的方法com.danikula.videocache.sourcestorage.SourceInfoStorage
 
getDebugMode() - 类 中的静态方法com.danikula.videocache.HttpProxyCacheDebuger
 
getFile() - 类 中的方法com.danikula.videocache.file.FileCache
Returns file to be used fo caching.
getMime() - 类 中的方法com.danikula.videocache.HttpUrlSource
 
getProxyUrl(String) - 类 中的方法com.danikula.videocache.HttpProxyCacheServer
Returns url that wrap original url and should be used for client (MediaPlayer, ExoPlayer, etc).
getProxyUrl(String, boolean) - 类 中的方法com.danikula.videocache.HttpProxyCacheServer
Returns url that wrap original url and should be used for client (MediaPlayer, ExoPlayer, etc).
getUrl() - 类 中的方法com.danikula.videocache.HttpUrlSource
 

H

HeaderInjector - com.danikula.videocache.headers中的接口
Allows to add custom headers to server's requests.
headerInjector(HeaderInjector) - 类 中的方法com.danikula.videocache.HttpProxyCacheServer.Builder
Add headers along the request to the server
HttpProxyCacheDebuger - com.danikula.videocache中的类
Created by guoshuyu on 2018/2/7.
HttpProxyCacheDebuger() - 类 的构造器com.danikula.videocache.HttpProxyCacheDebuger
 
HttpProxyCacheServer - com.danikula.videocache中的类
Simple lightweight proxy server with file caching support that handles HTTP requests.
HttpProxyCacheServer(Context) - 类 的构造器com.danikula.videocache.HttpProxyCacheServer
 
HttpProxyCacheServer.Builder - com.danikula.videocache中的类
HttpUrlSource - com.danikula.videocache中的类
Source that uses http resource as source for ProxyCache.
HttpUrlSource(String) - 类 的构造器com.danikula.videocache.HttpUrlSource
 
HttpUrlSource(String, SourceInfoStorage) - 类 的构造器com.danikula.videocache.HttpUrlSource
 
HttpUrlSource(String, SourceInfoStorage, HeaderInjector) - 类 的构造器com.danikula.videocache.HttpUrlSource
 
HttpUrlSource(HttpUrlSource) - 类 的构造器com.danikula.videocache.HttpUrlSource
 

I

InterruptedProxyCacheException - com.danikula.videocache中的异常错误
Indicates interruption error in work of ProxyCache fired by user.
InterruptedProxyCacheException(String) - 异常错误 的构造器com.danikula.videocache.InterruptedProxyCacheException
 
InterruptedProxyCacheException(String, Throwable) - 异常错误 的构造器com.danikula.videocache.InterruptedProxyCacheException
 
InterruptedProxyCacheException(Throwable) - 异常错误 的构造器com.danikula.videocache.InterruptedProxyCacheException
 
isCached(String) - 类 中的方法com.danikula.videocache.HttpProxyCacheServer
Checks is cache contains fully cached file for particular url.
isCompleted() - 类 中的方法com.danikula.videocache.ByteArrayCache
 
isCompleted() - 接口 中的方法com.danikula.videocache.Cache
 
isCompleted() - 类 中的方法com.danikula.videocache.file.FileCache
 

L

length() - 类 中的方法com.danikula.videocache.ByteArraySource
 
length() - 类 中的方法com.danikula.videocache.HttpUrlSource
 
length() - 接口 中的方法com.danikula.videocache.Source
Returns length bytes or negative value if length is unknown.
length - 类 中的变量com.danikula.videocache.SourceInfo
 
LruDiskUsage - com.danikula.videocache.file中的类
DiskUsage that uses LRU (Least Recently Used) strategy to trim cache.
LruDiskUsage() - 类 的构造器com.danikula.videocache.file.LruDiskUsage
 

M

maxCacheFilesCount(int) - 类 中的方法com.danikula.videocache.HttpProxyCacheServer.Builder
Sets max cache files count.
maxCacheSize(long) - 类 中的方法com.danikula.videocache.HttpProxyCacheServer.Builder
Sets max cache size in bytes.
Md5FileNameGenerator - com.danikula.videocache.file中的类
Implementation of FileNameGenerator that uses MD5 of url as file name
Md5FileNameGenerator() - 类 的构造器com.danikula.videocache.file.Md5FileNameGenerator
 
mime - 类 中的变量com.danikula.videocache.SourceInfo
 

N

newEmptySourceInfoStorage() - 类 中的静态方法com.danikula.videocache.sourcestorage.SourceInfoStorageFactory
 
newSourceInfoStorage(Context) - 类 中的静态方法com.danikula.videocache.sourcestorage.SourceInfoStorageFactory
 
NoSourceInfoStorage - com.danikula.videocache.sourcestorage中的类
SourceInfoStorage that does nothing.
NoSourceInfoStorage() - 类 的构造器com.danikula.videocache.sourcestorage.NoSourceInfoStorage
 

O

onCacheAvailable(File, String, int) - 接口 中的方法com.danikula.videocache.CacheListener
 
open(long) - 类 中的方法com.danikula.videocache.ByteArraySource
 
open(long) - 类 中的方法com.danikula.videocache.HttpUrlSource
 
open(long) - 接口 中的方法com.danikula.videocache.Source
Opens source.

P

Preconditions - com.danikula.videocache中的类
 
Preconditions() - 类 的构造器com.danikula.videocache.Preconditions
 
printfError(String) - 类 中的静态方法com.danikula.videocache.HttpProxyCacheDebuger
 
printfError(String, String) - 类 中的静态方法com.danikula.videocache.HttpProxyCacheDebuger
 
printfError(String, Exception) - 类 中的静态方法com.danikula.videocache.HttpProxyCacheDebuger
 
printfLog(String, String) - 类 中的静态方法com.danikula.videocache.HttpProxyCacheDebuger
 
printfLog(String) - 类 中的静态方法com.danikula.videocache.HttpProxyCacheDebuger
 
printfWarning(String, String) - 类 中的静态方法com.danikula.videocache.HttpProxyCacheDebuger
 
printfWarning(String) - 类 中的静态方法com.danikula.videocache.HttpProxyCacheDebuger
 
ProxyCacheException - com.danikula.videocache中的异常错误
Indicates any error in work of ProxyCache.
ProxyCacheException(String) - 异常错误 的构造器com.danikula.videocache.ProxyCacheException
 
ProxyCacheException(String, Throwable) - 异常错误 的构造器com.danikula.videocache.ProxyCacheException
 
ProxyCacheException(Throwable) - 异常错误 的构造器com.danikula.videocache.ProxyCacheException
 
ProxyCacheUtils - com.danikula.videocache中的类
Just simple utils.
ProxyCacheUtils() - 类 的构造器com.danikula.videocache.ProxyCacheUtils
 
put(String, SourceInfo) - 类 中的方法com.danikula.videocache.sourcestorage.NoSourceInfoStorage
 
put(String, SourceInfo) - 接口 中的方法com.danikula.videocache.sourcestorage.SourceInfoStorage
 

R

read(byte[], long, int) - 类 中的方法com.danikula.videocache.ByteArrayCache
 
read(byte[]) - 类 中的方法com.danikula.videocache.ByteArraySource
 
read(byte[], long, int) - 接口 中的方法com.danikula.videocache.Cache
 
read(byte[], long, int) - 类 中的方法com.danikula.videocache.file.FileCache
 
read(byte[]) - 类 中的方法com.danikula.videocache.HttpUrlSource
 
read(byte[]) - 接口 中的方法com.danikula.videocache.Source
Read data to byte buffer from source with current offset.
registerCacheListener(CacheListener, String) - 类 中的方法com.danikula.videocache.HttpProxyCacheServer
 
release() - 类 中的方法com.danikula.videocache.sourcestorage.NoSourceInfoStorage
 
release() - 接口 中的方法com.danikula.videocache.sourcestorage.SourceInfoStorage
 

S

shutdown() - 类 中的方法com.danikula.videocache.HttpProxyCacheServer
 
Source - com.danikula.videocache中的接口
Source for proxy.
SourceInfo - com.danikula.videocache中的类
Stores source's info.
SourceInfo(String, long, String) - 类 的构造器com.danikula.videocache.SourceInfo
 
SourceInfoStorage - com.danikula.videocache.sourcestorage中的接口
Storage for SourceInfo.
SourceInfoStorageFactory - com.danikula.videocache.sourcestorage中的类
Simple factory for SourceInfoStorage.
SourceInfoStorageFactory() - 类 的构造器com.danikula.videocache.sourcestorage.SourceInfoStorageFactory
 

T

Toast(Activity, String) - 类 中的静态方法com.danikula.videocache.HttpProxyCacheDebuger
 
toString() - 类 中的方法com.danikula.videocache.HttpUrlSource
 
toString() - 类 中的方法com.danikula.videocache.SourceInfo
 
TotalCountLruDiskUsage - com.danikula.videocache.file中的类
DiskUsage that uses LRU (Least Recently Used) strategy and trims cache size to max files count if needed.
TotalCountLruDiskUsage(int) - 类 的构造器com.danikula.videocache.file.TotalCountLruDiskUsage
 
TotalSizeLruDiskUsage - com.danikula.videocache.file中的类
DiskUsage that uses LRU (Least Recently Used) strategy and trims cache size to max size if needed.
TotalSizeLruDiskUsage(long) - 类 的构造器com.danikula.videocache.file.TotalSizeLruDiskUsage
 
touch(File) - 接口 中的方法com.danikula.videocache.file.DiskUsage
 
touch(File) - 类 中的方法com.danikula.videocache.file.LruDiskUsage
 
touch(File) - 类 中的方法com.danikula.videocache.file.UnlimitedDiskUsage
 

U

UnlimitedDiskUsage - com.danikula.videocache.file中的类
Unlimited version of DiskUsage.
UnlimitedDiskUsage() - 类 的构造器com.danikula.videocache.file.UnlimitedDiskUsage
 
unregisterCacheListener(CacheListener, String) - 类 中的方法com.danikula.videocache.HttpProxyCacheServer
 
unregisterCacheListener(CacheListener) - 类 中的方法com.danikula.videocache.HttpProxyCacheServer
 
url - 类 中的变量com.danikula.videocache.SourceInfo
 
A B C D E F G H I L M N O P R S T U 
跳过导航链接