public final class DiskLruCache.Value extends Object
Modifier and Type | Method and Description |
---|---|
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 . |
public DiskLruCache.Editor edit() throws IOException
IOException
public File getFile(int index)
public String getString(int index) throws IOException
index
.IOException
public long getLength(int index)
index
.