| java.lang.Object org.griphyn.vdl.util.Chmod
Chmod | public class Chmod (Code) | | This class changes file permission modes in
Unix/Linux environment.
author: Jens-S. Vöckler author: Yong Zhao version: $Revision: 50 $ |
Method Summary | |
public static int | changePermission(String filename, String dir) Changes file permission to be executable
Parameters: filename - is the name of the file to change permissions,it allows wildcard. |
changePermission | public static int changePermission(String filename, String dir) throws IOException, InterruptedException(Code) | | Changes file permission to be executable
Parameters: filename - is the name of the file to change permissions,it allows wildcard. Parameters: dir - is the directory where the file is located. 0 if successful |
|
|