Class DataStoreCacheUtils
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.blob.DataStoreCacheUtils
-
public class DataStoreCacheUtils extends Object
Common utility methods used for DataStore caches.
-
-
Constructor Summary
Constructors Constructor Description DataStoreCacheUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
recursiveDelete
public static void recursiveDelete(File f, File root) throws IOException
Delete the file from the given root directory all its empty parent-directories.- Parameters:
f
- the file to be deleted- Throws:
IOException
-
-