public final class DiskLruCache.Snapshot
extends java.lang.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.
|
java.io.File |
getFile()
Returns the unbuffered stream with the value for
index. |
long |
getLength()
Returns the byte length of the value for
index. |
public DiskLruCache.Editor edit() throws java.io.IOException
java.io.IOExceptionpublic java.io.File getFile()
index.public long getLength()
index.