public class CachedFileCleaner extends Object
| Constructor and Description |
|---|
CachedFileCleaner(File cacheDir)
Create a new cleaner
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete(CachedFileDescriptor descriptor)
Delete the cached files listed in a descriptor.
|
void |
delete(String fileName)
Delete a cached file by name.
|
public CachedFileCleaner(File cacheDir)
cacheDir - the directory where the files are cachedpublic void delete(CachedFileDescriptor descriptor)
descriptor - the descriptor holding the names of the file and its minimized version. Can be
null.public void delete(String fileName)
fileName - the name of the file to delete. Can be null.Copyright © 2019 Communote team. All rights reserved.