org.apache.maven.wagon

Class PermissionModeUtils


public class PermissionModeUtils
extends java.lang.Object

Utility class for common operations for file/directory permissions.
Author:
Juan F. Codagnone
Since:
Sep 3, 2005
See Also:
PermissionModeUtils

Method Summary

static String
getUserMaskFor(String modeStr)
See the System Interfaces volume of IEEE Std 1003.1-2001, umask(1)

Method Details

getUserMaskFor

public static String getUserMaskFor(String modeStr)
See the System Interfaces volume of IEEE Std 1003.1-2001, umask(1)
Parameters:
modeStr - permision mode (numeric or symbolic)
Returns:
the mode that can be used with unmask to acomplish modeStr.