public class Chmod
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static boolean |
CHMOD_API_AVAILABLE |
private static java.lang.reflect.Method |
setExecutable |
private static java.lang.reflect.Method |
setReadable |
private static java.lang.reflect.Method |
setWritable |
Constructor and Description |
---|
Chmod() |
Modifier and Type | Method and Description |
---|---|
static int |
chmod(java.io.File file,
java.lang.String mode) |
private static boolean |
setPermissions(java.io.File file,
char permChar,
boolean userOnly) |