类 ShellUtil
- java.lang.Object
-
- cn.vorbote.commons.ShellUtil
-
public final class ShellUtil extends Object
This util class is used to run some shell commands via Java
-
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static voidClearShell()This method can clear the Shell Window, but you cannot clear the window in IDEstatic voidRunShell(String command)You can run some shell command via this util.
-
-
-
方法详细资料
-
RunShell
public static void RunShell(String command)
You can run some shell command via this util.- 参数:
command- The command you wanna run.
-
ClearShell
public static void ClearShell()
This method can clear the Shell Window, but you cannot clear the window in IDE
-
-