|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nostra13.universalimageloader.cache.disc.BaseDiscCache
public abstract class BaseDiscCache
Base disc cache. Implements common functionality for disc cache.
DiscCacheAware
,
FileNameGenerator
Field Summary | |
---|---|
protected java.io.File |
cacheDir
|
Constructor Summary | |
---|---|
BaseDiscCache(java.io.File cacheDir)
|
|
BaseDiscCache(java.io.File cacheDir,
FileNameGenerator fileNameGenerator)
|
Method Summary | |
---|---|
void |
clear()
Clears cache directory |
java.io.File |
get(java.lang.String key)
Returns file object appropriate incoming key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.nostra13.universalimageloader.cache.disc.DiscCacheAware |
---|
put |
Field Detail |
---|
protected java.io.File cacheDir
Constructor Detail |
---|
public BaseDiscCache(java.io.File cacheDir)
public BaseDiscCache(java.io.File cacheDir, FileNameGenerator fileNameGenerator)
Method Detail |
---|
public java.io.File get(java.lang.String key)
DiscCacheAware
get
in interface DiscCacheAware
public void clear()
DiscCacheAware
clear
in interface DiscCacheAware
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |