Class DiskLruCache.Value

java.lang.Object
com.bumptech.glide.disklrucache.DiskLruCache.Value
Enclosing class:
DiskLruCache

public final class DiskLruCache.Value extends Object
A snapshot of the values for an entry.
  • Method Details

    • edit

      public DiskLruCache.Editor edit() throws IOException
      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

      public File getFile(int index)
    • getString

      public String getString(int index) throws IOException
      Returns the string value for index.
      Throws:
      IOException
    • getLength

      public long getLength(int index)
      Returns the byte length of the value for index.