-
public final class FileLruCachecom.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
Nested Classes Modifier and Type Class Description public final classFileLruCache.Limitspublic classFileLruCache.Companion
-
Constructor Summary
Constructors Constructor Description FileLruCache(String tag, FileLruCache.Limits limits)
-
Method Summary
Modifier and Type Method Description 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()-
-
Constructor Detail
-
FileLruCache
FileLruCache(String tag, FileLruCache.Limits limits)
-
-
Method Detail
-
getLocation
final String getLocation()
-
sizeInBytesForTest
final Long sizeInBytesForTest()
-
get
@JvmOverloads() final InputStream get(String key, String contentTag)
-
get
@JvmOverloads() final InputStream get(String key)
-
openPutStream
@JvmOverloads() final OutputStream openPutStream(String key, String contentTag)
-
openPutStream
@JvmOverloads() final OutputStream openPutStream(String key)
-
clearCache
final Unit clearCache()
-
interceptAndPut
final InputStream interceptAndPut(String key, InputStream input)
-
-
-
-