Package com.core.util.operation
Class ShellScript
- java.lang.Object
-
- com.core.util.operation.ShellScript
-
public class ShellScript extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ShellScript()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
executeBatCommand(java.lang.String Command)
static java.lang.String
executeBatFile(java.lang.String location_batscript)
static java.lang.String
executeShellCommand(java.lang.String Command)
static java.lang.String
executeShellFile(java.lang.String location_shellscript)
-
-
-
Method Detail
-
executeShellFile
public static java.lang.String executeShellFile(java.lang.String location_shellscript)
-
executeBatFile
public static java.lang.String executeBatFile(java.lang.String location_batscript)
-
executeBatCommand
public static java.lang.String executeBatCommand(java.lang.String Command) throws java.lang.Exception
- Throws:
java.lang.Exception
-
executeShellCommand
public static java.lang.String executeShellCommand(java.lang.String Command) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-