public interface PartitionUserFileSystemManagerMBean extends RuntimeMBean
This class is used for partition user file system handling.
| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteFile(String filePath)
Deletes specified file
|
boolean |
exists(String filePath)
Checks whether specified file exists
|
String[] |
list(String dirPath)
Lists files from partition user file system directory
|
boolean |
mkdir(String dirPath)
Creates partition user file system subdirectory
|
boolean |
rmdir(String dirPath)
Deletes specified directory
|
addPropertyChangeListener, removePropertyChangeListenergetMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParentgetAttribute, getAttributes, invoke, setAttribute, setAttributespostDeregister, postRegister, preDeregister, preRegisteraddNotificationListener, getNotificationInfo, removeNotificationListenerboolean exists(String filePath) throws ManagementException
filePath - file path relative to partition user file system rootManagementExceptionboolean mkdir(String dirPath) throws ManagementException
dirPath - directory path relative to partition user file system rootManagementExceptionString[] list(String dirPath) throws ManagementException
dirPath - directory path relative to partition user file system rootManagementExceptionboolean deleteFile(String filePath) throws ManagementException
filePath - file path relative to partition user file system rootManagementExceptionboolean rmdir(String dirPath) throws ManagementException
dirPath - directory path relative to partition user file system rootManagementException