List of usage examples for com.squareup.okhttp.internal.io FileSystem SYSTEM
FileSystem SYSTEM
To view the source code for com.squareup.okhttp.internal.io FileSystem SYSTEM.
Click Source Link
From source file:com.frostwire.android.util.DiskCache.java
License:Open Source License
public DiskCache(File directory, long size) throws IOException { this.cache = DiskLruCache.create(FileSystem.SYSTEM, directory, APP_VERSION, VALUE_COUNT, size); }
From source file:com.linroid.pushapp.module.DataModule.java
License:Apache License
@Provides @Singleton/*from w w w.j a v a2 s .co m*/ DiskLruCache provideDataCache(@DataCacheDir File cacheDir) { //10M return DiskLruCache.create(FileSystem.SYSTEM, cacheDir, BuildConfig.VERSION_CODE, 1, 1024 * 1024 * 10); }