java.lang.Objectorg.objectweb.telosys.util.SysUtil
Constructor Summary | |
SysUtil()
|
Method Summary | |
static java.lang.String[] |
exec(java.lang.String[] cmdAndArgs)
Executes the given command with its arguments |
static java.lang.String |
getOSName()
Returns the Operating System name |
static java.lang.String |
getOSVersion()
Returns the Operating System version |
static java.lang.String |
getUserName()
Returns the Operating System user name |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SysUtil()
Method Detail |
public static java.lang.String getOSName()
public static java.lang.String getOSVersion()
public static java.lang.String getUserName()
public static java.lang.String[] exec(java.lang.String[] cmdAndArgs)
cmdAndArgs
- the arguments for the 'exec' method of the 'Process' instance