com.sun.grid.util
public class SGEUtil extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getArch(java.io.File sgeRoot) |
static SGEUtil |
getInstance()
Get the instance of the
SGEUtil . |
char[] |
getPassword(java.lang.String prompt)
Read a password from the console.
|
int |
getPID()
get pid of the java virtual machine
|
static boolean |
isWindows() |
public static SGEUtil getInstance()
SGEUtil
.
The first call of this method tries to load the native
library juti.SGEUtil
System.loadLibrary(java.lang.String)
public int getPID()
public char[] getPassword(java.lang.String prompt)
prompt
- the promptpublic static boolean isWindows()
public static java.lang.String getArch(java.io.File sgeRoot) throws java.io.IOException
java.io.IOException