Class Os
java.lang.Object
org.terracotta.utilities.test.runtime.Os
O/S functions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringGets the Windows "System" folder.static Stringstatic Stringstatic booleanisAix()static booleanstatic booleanisHpux()static booleanisLinux()static booleanisMac()static booleanstatic booleanisUnix()static booleanstatic Stringplatform()
-
Constructor Details
-
Os
private Os()
-
-
Method Details
-
getOsName
-
getOsArch
-
platform
-
isWindows
public static boolean isWindows() -
isLinux
public static boolean isLinux() -
isUnix
public static boolean isUnix() -
isMac
public static boolean isMac() -
isSolaris
public static boolean isSolaris() -
isAix
public static boolean isAix() -
isArchx86
public static boolean isArchx86() -
isHpux
public static boolean isHpux() -
findWindowsSystemRoot
Gets the Windows "System" folder. This is usuallyC:\Windows\System32.- Returns:
- the Windows "System" folder
-