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