public final class FileLruCache extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FileLruCache.Limits |
| Constructor and Description |
|---|
FileLruCache(android.content.Context context,
String tag,
FileLruCache.Limits limits) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearForTest() |
InputStream |
get(String key) |
InputStream |
get(String key,
String contentTag) |
InputStream |
interceptAndPut(String key,
InputStream input) |
OutputStream |
openPutStream(String key,
String contentTag) |
String |
toString() |
public FileLruCache(android.content.Context context,
String tag,
FileLruCache.Limits limits)
public void clearForTest()
throws IOException
IOExceptionpublic InputStream get(String key) throws IOException
IOExceptionpublic InputStream get(String key, String contentTag) throws IOException
IOExceptionpublic OutputStream openPutStream(String key, String contentTag) throws IOException
IOExceptionpublic InputStream interceptAndPut(String key, InputStream input) throws IOException
IOExceptionCopyright © 2013. All Rights Reserved.