Package org.apache.maven.wagon
Class PermissionModeUtils
java.lang.Object
org.apache.maven.wagon.PermissionModeUtils
Utility class for common operations for file/directory permissions.
- Since:
- Sep 3, 2005
- Author:
- Juan F. Codagnone
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getUserMaskFor
(String modeStr) See the System Interfaces volume of IEEE Std 1003.1-2001, umask(1)
-
Method Details
-
getUserMaskFor
See the System Interfaces volume of IEEE Std 1003.1-2001, umask(1)- Parameters:
modeStr
- permission mode (numeric or symbolic)- Returns:
- the mode that can be used with umask to accomplish modeStr.
-