Package com.evolveum.midpoint.util
Class SystemUtil
- java.lang.Object
-
- com.evolveum.midpoint.util.SystemUtil
-
public class SystemUtil extends Object
- Author:
- mederly
-
-
Constructor Summary
Constructors Constructor Description SystemUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
executeCommand(String command, String input, StringBuilder output, long timeout)
static String
getMyPid()
static void
setPrivateFilePermissions(String fileName)
-
-
-
Method Detail
-
executeCommand
public static boolean executeCommand(String command, String input, StringBuilder output, long timeout) throws IOException
- Throws:
IOException
-
setPrivateFilePermissions
public static void setPrivateFilePermissions(String fileName) throws IOException
- Throws:
IOException
-
getMyPid
public static String getMyPid()
-
-