/** * Returns a file path of a database remote file. */ public File getDatabaseFile(String name) { // TODO [low] This should be a database file or another key return getFileInCache(FILE_FORMAT_DATABASE_FILE_ENCRYPTED, name); }
/** * Returns a file path of a encrypted multichunk file, * given the identifier of a multichunk. */ public File getEncryptedMultiChunkFile(MultiChunkId multiChunkId) { return getFileInCache(FILE_FORMAT_MULTICHUNK_ENCRYPTED, multiChunkId.toString()); }
/** * Returns a file path of a decrypted multichunk file, * given the identifier of a multichunk. */ public File getDecryptedMultiChunkFile(MultiChunkId multiChunkId) { return getFileInCache(FILE_FORMAT_MULTICHUNK_DECRYPTED, multiChunkId.toString()); }