// This violates encapsulation but there is no convenience method to get a filename from
// DiskLruCache. Filename was derived from private class method Entry#getCleanFile
// in DiskLruCache.java
public static String getFilePathDiskCache(final String key) {
        if (sDiskLruCache == null) {
            return null;
        }
        // This violates encapsulation but there is no convenience method to get a filename from
        // DiskLruCache. Filename was derived from private class method Entry#getCleanFile
        // in DiskLruCache.java
        return sDiskLruCache.getDirectory()
                + File.separator
                + createValidDiskCacheKey(key)
                + "."
                + DISK_CACHE_INDEX;
    }
return null;
}
// This violates encapsulation but there is no convenience method to get a filename from
// DiskLruCache. Filename was derived from private class method Entry#getCleanFile
// in DiskLruCache.java
return sDiskLruCache.getDirectory()
+ File.separator
public static String getFilePathDiskCache(final String key) {
if (sDiskLruCache == null) {
return null;
}
// This violates encapsulation but there is no convenience method to get a filename from
// DiskLruCache. Filename was derived from private class method Entry#getCleanFile
// in DiskLruCache.java
return sDiskLruCache.getDirectory()
+ File.separator
+ createValidDiskCacheKey(key)
+ "."
+ DISK_CACHE_INDEX;
}
public static String getFilePathDiskCache(final String key) {
if (sDiskLruCache == null) {
return null;
}
// This violates encapsulation but there is no convenience method to get a filename from
// DiskLruCache. Filename was derived from private class method Entry#getCleanFile
// in DiskLruCache.java
return sDiskLruCache.getDirectory()
+ File.separator
+ createValidDiskCacheKey(key)
+ "."
+ DISK_CACHE_INDEX;
}