Package com.bumptech.glide.disklrucache
Class DiskLruCache.Value
java.lang.Object
com.bumptech.glide.disklrucache.DiskLruCache.Value
- Enclosing class:
- DiskLruCache
A snapshot of the values for an entry.
-
Method Summary
Modifier and TypeMethodDescriptionedit()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.getFile(int index) longgetLength(int index) Returns the byte length of the value forindex.getString(int index) Returns the string value forindex.
-
Method Details
-
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.- Throws:
IOException
-
getFile
-
getString
Returns the string value forindex.- Throws:
IOException
-
getLength
public long getLength(int index) Returns the byte length of the value forindex.
-