Back to Vassonic

SonicDownloadCache (sdk 3.0.0 API)

sonic-android/docs/javadoc/com/tencent/sonic/sdk/download/SonicDownloadCache.html

3.1.14.2 KB
Original Source

跳过导航链接

com.tencent.sonic.sdk.download

类 SonicDownloadCache


public abstract classSonicDownloadCacheextends java.lang.Object

Sonic download cache manager

嵌套类概要

嵌套类 | 限定符和类型 | 类和说明 | | --- | --- | | static class | SonicDownloadCache.SonicResourceCache An sub resource cache implementation SonicDownloadCache |

构造器概要

构造器 | 构造器和说明 | | --- | | SonicDownloadCache() |

方法概要

所有方法 静态方法 实例方法 抽象方法 具体方法 | 限定符和类型 | 方法和说明 | | --- | --- | | abstract byte[] | getResourceCache(java.lang.String url) get the cached content according to the url | | abstract java.util.Map<java.lang.String,java.util.List<java.lang.String>> | getResourceCacheHeader(java.lang.String url) get the cached response headers according to the url | | static SonicDownloadCache | getSubResourceCache() |

- 

从类继承的方法 java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

构造器详细资料

- 

SonicDownloadCache

public SonicDownloadCache()

方法详细资料

- 

getResourceCache

public abstract byte[] getResourceCache(java.lang.String url)

get the cached content according to the url 参数:url - the download url返回:bytes of cached content of the url

- 

getResourceCacheHeader

public abstract java.util.Map<java.lang.String,java.util.List<java.lang.String>> getResourceCacheHeader(java.lang.String url)

get the cached response headers according to the url 参数:url - the download url返回:cached headers of the url

- 

getSubResourceCache

public static[SonicDownloadCache](../../../../../com/tencent/sonic/sdk/download/SonicDownloadCache.html "com.tencent.sonic.sdk.download中的类")getSubResourceCache()

返回:Sub resource cache

跳过导航链接