public class DiskLruCache.Snapshot
A snapshot of the values for an entry.
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
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.InputStream |
getInputStream()
Returns the unbuffered stream with the value for
index. |
java.lang.String |
getString()
Returns the string value for
index. |
public 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.
public java.io.InputStream getInputStream()
Returns the unbuffered stream with the value for index.
public java.lang.String getString()
Returns the string value for index.
public void close()