public final class FilePermissions extends Object
Modifier and Type | Method and Description |
---|---|
static int |
posixPermissionsToUmask(Collection<PosixFilePermission> permissions)
Return the integer representation of a set of Posix file permissions, where the
integer value conforms to the
umask octal notation.
|
public static int posixPermissionsToUmask(Collection<PosixFilePermission> permissions)
permissions
- the set of PosixFilePermission
s