public class DataStoreCacheUtils extends Object
| Constructor and Description |
|---|
DataStoreCacheUtils() |
| Modifier and Type | Method and Description |
|---|---|
static File |
getFile(String id,
File root)
Obtain a placeholder in the file system folder for the given identifier.
|
static void |
recursiveDelete(File f,
File root)
Delete the file from the given root directory all its empty parent-directories.
|
public static void recursiveDelete(File f, File root) throws IOException
f - the file to be deletedIOExceptionCopyright © 2012–2017 The Apache Software Foundation. All rights reserved.