Android SDK Version


public final class FileLruCache
com.facebook.internal is solely for the use of other packages within the Facebook SDK for Android. Use of any of the classes in this package is unsupported, and they may be modified or removed without warning at any time.
Nested Class Summary
Modifier and TypeClassDescription
public final classFileLruCache.Limits
public classFileLruCache.Companion
Field Summary
Modifier and TypeFieldDescription
private final Stringlocation
Constructor Summary
ConstructorDescription
FileLruCache(String tag, FileLruCache.Limits limits)
Method Summary
Modifier and TypeMethodDescription
final StringgetLocation()
final LongsizeInBytesForTest()
final InputStreamget(String key, String contentTag)
final InputStreamget(String key)
final OutputStreamopenPutStream(String key, String contentTag)
final OutputStreamopenPutStream(String key)
final UnitclearCache()
final InputStreaminterceptAndPut(String key, InputStream input)
StringtoString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

FileLruCache

FileLruCache(String tag, FileLruCache.Limits limits)
Method Detail

getLocation

 final StringgetLocation()

sizeInBytesForTest

 final LongsizeInBytesForTest()

get

@JvmOverloads() final InputStreamget(String key, String contentTag)

openPutStream

@JvmOverloads() final OutputStreamopenPutStream(String key, String contentTag)

openPutStream

@JvmOverloads() final OutputStreamopenPutStream(String key)

clearCache

 final UnitclearCache()

interceptAndPut

 final InputStreaminterceptAndPut(String key, InputStream input)

toString

StringtoString()