public final class PosixModes extends Object
| Modifier and Type | Method and Description |
|---|---|
static Set<PosixFilePermission> |
intModeToPosix(int intMode)
Convert an integer into a set of
PosixFilePermissions |
@Nonnull public static Set<PosixFilePermission> intModeToPosix(int intMode)
PosixFilePermissions
Note that this method will not try and read 755 "in octal";
you must prefix your integer with 0 so that the
constant be octal, as in 0755.
intMode - the modeInvalidIntModeException - invalid integer modeFiles.setPosixFilePermissions(Path, Set)