Package com.ibm.wala.util
Class PlatformUtil
- java.lang.Object
-
- com.ibm.wala.util.PlatformUtil
-
public class PlatformUtil extends Object
Platform-specific utility functions.
-
-
Constructor Summary
Constructors Constructor Description PlatformUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String[]
getBootClassPathJars()
get the jars in the boot classpath.static boolean
onIKVM()
are we running on IKVM? see http://www.ikvm.netstatic boolean
onLinux()
are we running on Linux?static boolean
onMacOSX()
are we running on Mac OS X?static boolean
onWindows()
are we running on Windows?
-
-
-
Method Detail
-
onMacOSX
public static boolean onMacOSX()
are we running on Mac OS X?
-
onLinux
public static boolean onLinux()
are we running on Linux?
-
onWindows
public static boolean onWindows()
are we running on Windows?
-
onIKVM
public static boolean onIKVM()
are we running on IKVM? see http://www.ikvm.net
-
getBootClassPathJars
public static String[] getBootClassPathJars()
get the jars in the boot classpath. TODO test on more JVMs- Throws:
IllegalStateException
- if boot classpath cannot be found
-
-