public class FileCache extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
FileCache.Downloader |
| Modifier and Type | Method and Description |
|---|---|
File |
createTempDir() |
File |
get(String filename,
String hash)
Look for a file in the cache by its filename and md5 checksum.
|
File |
get(String filename,
String hash,
FileCache.Downloader downloader) |
File |
getDir() |
public File getDir()
@CheckForNull public File get(String filename, String hash)
public File get(String filename, String hash, FileCache.Downloader downloader)
public File createTempDir()
Copyright © 2011-2017 SonarSource. All Rights Reserved.