Package zowe.client.sdk.utility
Class FileUtils
- java.lang.Object
-
- zowe.client.sdk.utility.FileUtils
-
public final class FileUtils extends Object
Utility class for UNIX (USS) related static helper methods.- Version:
- 4.0
- Author:
- Frank Giordano
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
validatePath(String value)
Validate permission i.e.static String
validatePermission(String value)
Validate permission
-
-
-
Method Detail
-
validatePermission
public static String validatePermission(String value)
Validate permissionA valid permission is nine characters in three groups of three; they describe the permissions on the file or directory. The first group of 3 describes owner permissions; the second describes group permissions; the third describes other (or world) permissions.
Each group contains a value of either r w x or -.
- Parameters:
value
- permission string- Returns:
- same value string back to caller if valid
-
-