|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bumptech.glide.disklrucache.DiskLruCache.Editor
public final class DiskLruCache.Editor
Edits the values for an entry.
Method Summary | |
---|---|
void |
abort()
Aborts this edit. |
void |
abortUnlessCommitted()
|
void |
commit()
Commits this edit so it is visible to readers. |
File |
getFile(int index)
|
String |
getString(int index)
Returns the last committed value as a string, or null if no value has been committed. |
void |
set(int index,
String value)
Sets the value at index to value . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public String getString(int index) throws IOException
IOException
public File getFile(int index) throws IOException
IOException
public void set(int index, String value) throws IOException
index
to value
.
IOException
public void commit() throws IOException
IOException
public void abort() throws IOException
IOException
public void abortUnlessCommitted()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |