|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
DiskCache instead
@Deprecated public interface DiscCacheAware
Interface for disk cache
| Method Summary | |
|---|---|
void |
clear()
Deprecated. Clears disk cache. |
void |
close()
Deprecated. Closes disk cache, releases resources. |
File |
get(String imageUri)
Deprecated. Returns file of cached image |
File |
getDirectory()
Deprecated. Returns root directory of disk cache |
boolean |
remove(String imageUri)
Deprecated. Removes image file associated with incoming URI |
boolean |
save(String imageUri,
android.graphics.Bitmap bitmap)
Deprecated. Saves image bitmap in disk cache. |
boolean |
save(String imageUri,
InputStream imageStream,
IoUtils.CopyListener listener)
Deprecated. Saves image stream in disk cache. |
| Method Detail |
|---|
File getDirectory()
File get(String imageUri)
imageUri - Original image URI
boolean save(String imageUri,
InputStream imageStream,
IoUtils.CopyListener listener)
throws IOException
imageUri - Original image URIimageStream - Input stream of imagelistener - Listener for saving progress, can be ignored if you don't use
progress listener in ImageLoader calls
IOException
boolean save(String imageUri,
android.graphics.Bitmap bitmap)
throws IOException
imageUri - Original image URIbitmap - Image bitmap
IOExceptionboolean remove(String imageUri)
imageUri - Image URI
void close()
void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||