Package com.mapr.util
Class MapRFSUtil
- java.lang.Object
-
- com.mapr.util.MapRFSUtil
-
public class MapRFSUtil extends java.lang.ObjectUtility class that provides APIs to interact with MapRFS.
-
-
Constructor Summary
Constructors Constructor Description MapRFSUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleancreate(java.lang.String path, boolean isDir)static booleandelete(java.lang.String path)static com.mapr.fs.MapRFileSystemgetMapRFileSystem()static booleanisDir(java.lang.String path)static booleanpathExists(java.lang.String path)
-
-
-
Method Detail
-
getMapRFileSystem
public static com.mapr.fs.MapRFileSystem getMapRFileSystem()
-
isDir
public static boolean isDir(java.lang.String path)
-
pathExists
public static boolean pathExists(java.lang.String path)
-
create
public static boolean create(java.lang.String path, boolean isDir)
-
delete
public static boolean delete(java.lang.String path)
-
-