org.jruby.ext.posix.util
Class Chmod

java.lang.Object
  extended by org.jruby.ext.posix.util.Chmod

public class Chmod
extends java.lang.Object

Honor semantics of chmod as best we can in pure Java. Note, this uses reflection to be more tolerant of different Java versions.


Constructor Summary
Chmod()
           
 
Method Summary
static int chmod(java.io.File file, java.lang.String mode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Chmod

public Chmod()
Method Detail

chmod

public static int chmod(java.io.File file,
                        java.lang.String mode)