|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bumptech.glide.disklrucache.DiskLruCache.Value
public final class DiskLruCache.Value
A snapshot of the values for an entry.
| Method Summary | |
|---|---|
DiskLruCache.Editor |
edit()
Returns an editor for this snapshot's entry, or null if either the entry has changed since this snapshot was created or if another edit is in progress. |
File |
getFile(int index)
|
long |
getLength(int index)
Returns the byte length of the value for index. |
String |
getString(int index)
Returns the string value for index. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public DiskLruCache.Editor edit()
throws IOException
IOExceptionpublic File getFile(int index)
public String getString(int index)
throws IOException
index.
IOExceptionpublic long getLength(int index)
index.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||