Package jnr.posix.util
Class Chmod
java.lang.Object
jnr.posix.util.Chmod
Honor semantics of chmod as best we can in pure Java. Note, this uses reflection to be
more tolerant of different Java versions.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
private static boolean
setPermissions
(File file, char permChar, boolean userOnly)
-
Field Details
-
CHMOD_API_AVAILABLE
private static final boolean CHMOD_API_AVAILABLE -
setWritable
-
setReadable
-
setExecutable
-
-
Constructor Details
-
Chmod
public Chmod()
-
-
Method Details
-
chmod
-
setPermissions
-