-
public abstract class CacheHelper
-
-
Method Summary
Modifier and Type Method Description static Array<byte>read(@NonNull() File inputFile)static Filewrite(@NonNull() Context context, long timestamp, Array<byte> data)static booleanwrite(File outputFile, Array<byte> data)static booleandeleteAll(@NonNull() Context context)Delete cached display receipt static List<File>getCachedFiles(@NonNull() Context context, boolean debug)Return a sorted list of File matching available cached display receipt.Don't load the cached file in memory, only list them. -
-
Method Detail
-
deleteAll
static boolean deleteAll(@NonNull() Context context)
Delete cached display receipt
- Parameters:
context- Android's Context
-
getCachedFiles
@Nullable() static List<File> getCachedFiles(@NonNull() Context context, boolean debug)
Return a sorted list of File matching available cached display receipt.Don't load the cached file in memory, only list them.
- Parameters:
context- Android's contextdebug- If true return all cached files in any order
-
-
-
-