public FileCache(java.io.File file)
throws ProxyCacheException
public FileCache(java.io.File file,
DiskUsage diskUsage)
throws ProxyCacheException
public long available()
throws ProxyCacheException
available 在接口中 CacheProxyCacheExceptionpublic int read(byte[] buffer,
long offset,
int length)
throws ProxyCacheException
read 在接口中 CacheProxyCacheExceptionpublic void append(byte[] data,
int length)
throws ProxyCacheException
append 在接口中 CacheProxyCacheExceptionpublic void close()
throws ProxyCacheException
close 在接口中 CacheProxyCacheExceptionpublic void complete()
throws ProxyCacheException
complete 在接口中 CacheProxyCacheExceptionpublic boolean isCompleted()
isCompleted 在接口中 Cachepublic java.io.File getFile()