org.apache.maven.wagon

Class PermissionModeUtils

public class PermissionModeUtils extends Object

Utility class for common operations for file/directory permissions.

Since: Sep 3, 2005

Author: Juan F. Codagnone

See Also: PermissionModeUtils

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

Method Detail

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.