Class PermissionModeUtils


  • public final class PermissionModeUtils
    extends java.lang.Object
    Utility class for common operations for file/directory permissions.
    Since:
    Sep 3, 2005
    See Also:
    PermissionModeUtils
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private PermissionModeUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getUserMaskFor​(java.lang.String modeStr)
      See the System Interfaces volume of IEEE Std 1003.1-2001, umask(1)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PermissionModeUtils

        private PermissionModeUtils()
    • Method Detail

      • getUserMaskFor

        public static java.lang.String getUserMaskFor​(java.lang.String modeStr)
        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.