org.kuali.common.util
Class UnixCmds

java.lang.Object
  extended by org.kuali.common.util.UnixCmds

public class UnixCmds
extends Object


Constructor Summary
UnixCmds()
           
 
Method Summary
 String chmod(List<String> options, String mode, List<String> paths)
           
 String chmod(String mode, List<String> paths)
           
 String chmod(String mode, String path)
           
 String chown(List<String> options, String owner, String group, List<String> paths)
           
 String chown(List<String> options, String owner, String group, String path)
           
 String chown(String owner, String group, String path)
           
 String chownr(List<String> options, String owner, String group, List<String> paths)
           
 String chownr(String owner, String group, List<String> paths)
           
 String chownr(String owner, String group, String path)
           
 String cmd(String executable, List<String> args)
           
 String mkdir(List<String> options, List<String> paths)
           
 String mkdir(String path)
           
 String mkdirp(List<String> paths)
           
 String mkdirp(List<String> options, List<String> paths)
           
 String mkdirp(String path)
           
 String rm(List<String> paths)
           
 String rm(List<String> options, List<String> paths)
           
 String rm(String path)
           
 String rmrf(List<String> paths)
           
 String rmrf(List<String> options, List<String> paths)
           
 String rmrf(String path)
           
 String su(List<String> options, String login, List<String> args)
           
 String su(List<String> options, String login, String command)
           
 String su(String login, String command)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnixCmds

public UnixCmds()
Method Detail

chmod

public String chmod(String mode,
                    String path)

chmod

public String chmod(String mode,
                    List<String> paths)

chmod

public String chmod(List<String> options,
                    String mode,
                    List<String> paths)

mkdirp

public String mkdirp(String path)

mkdirp

public String mkdirp(List<String> paths)

mkdirp

public String mkdirp(List<String> options,
                     List<String> paths)

mkdir

public String mkdir(String path)

mkdir

public String mkdir(List<String> options,
                    List<String> paths)

su

public String su(String login,
                 String command)

su

public String su(List<String> options,
                 String login,
                 String command)

su

public String su(List<String> options,
                 String login,
                 List<String> args)

rmrf

public String rmrf(List<String> paths)

rmrf

public String rmrf(String path)

rmrf

public String rmrf(List<String> options,
                   List<String> paths)

rm

public String rm(List<String> paths)

rm

public String rm(String path)

rm

public String rm(List<String> options,
                 List<String> paths)

chownr

public String chownr(String owner,
                     String group,
                     String path)

chownr

public String chownr(String owner,
                     String group,
                     List<String> paths)

chownr

public String chownr(List<String> options,
                     String owner,
                     String group,
                     List<String> paths)

chown

public String chown(List<String> options,
                    String owner,
                    String group,
                    String path)

chown

public String chown(List<String> options,
                    String owner,
                    String group,
                    List<String> paths)

chown

public String chown(String owner,
                    String group,
                    String path)

cmd

public String cmd(String executable,
                  List<String> args)


Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.