Package com.perforce.p4java.env
Class SystemInfo
- java.lang.Object
-
- com.perforce.p4java.env.SystemInfo
-
public class SystemInfo extends java.lang.Object
Provides system information about the Java runtime environment
-
-
Constructor Summary
Constructors Constructor Description SystemInfo()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getFileSeparator()
static java.lang.String
getOsArch()
static java.lang.String
getOsName()
static java.lang.String
getOsVersion()
static java.lang.String
getUserHome()
static boolean
isLinux()
static boolean
isMac()
static boolean
isUnix()
static boolean
isWindows()
-
-
-
Method Detail
-
isWindows
public static boolean isWindows()
-
isMac
public static boolean isMac()
-
isLinux
public static boolean isLinux()
-
isUnix
public static boolean isUnix()
-
getOsName
public static java.lang.String getOsName()
-
getOsVersion
public static java.lang.String getOsVersion()
-
getOsArch
public static java.lang.String getOsArch()
-
getFileSeparator
public static java.lang.String getFileSeparator()
-
getUserHome
public static java.lang.String getUserHome()
-
-