Package cern.accsoft.steering.jmad.util
Class SystemUtil
- java.lang.Object
-
- cern.accsoft.steering.jmad.util.SystemUtil
-
public final class SystemUtil extends java.lang.Object
This class contains various methods to access system properties.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getHostName()
static java.lang.String
getSystemTempDirectoryPath()
static java.lang.String
getUserName()
-
-
-
Method Detail
-
getUserName
public static java.lang.String getUserName()
- Returns:
- the name of the currently logged in user.
-
getHostName
public static java.lang.String getHostName()
- Returns:
- the name of the local host
-
getSystemTempDirectoryPath
public static java.lang.String getSystemTempDirectoryPath()
- Returns:
- the path of the systems temporary directory
-
-