net.tsz.afinal.bitmap.core
类 LruDiskCache.Snapshot

java.lang.Object
  继承者 net.tsz.afinal.bitmap.core.LruDiskCache.Snapshot
所有已实现的接口:
java.io.Closeable
包容类:
LruDiskCache

public final class LruDiskCache.Snapshot
extends java.lang.Object
implements java.io.Closeable

A snapshot of the values for an entry.


方法摘要
 void close()
           
 LruDiskCache.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(int index)
          Returns the unbuffered stream with the value for index.
 java.lang.String getString(int index)
          Returns the string value for index.
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

方法详细信息

edit

public LruDiskCache.Editor edit()
                         throws java.io.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.

抛出:
java.io.IOException

getInputStream

public java.io.InputStream getInputStream(int index)
Returns the unbuffered stream with the value for index.


getString

public java.lang.String getString(int index)
                           throws java.io.IOException
Returns the string value for index.

抛出:
java.io.IOException

close

public void close()
指定者:
接口 java.io.Closeable 中的 close