|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.excalibur.util.SystemUtil
public final class SystemUtil
A set of utility operations that provide necessary information about the architecture of the machine that the system is running on. The values provided are automatically determined at JVM startup. The SystemUtils uses a plugin architecture so that it can be extended for more than just Linux/ Windows support.
Method Summary | |
---|---|
static String |
architecture()
Return the architecture name |
static String |
cpuInfo()
|
static int |
numProcessors()
Return the number of processors available on this machine. |
static String |
operatingSystem()
Return the Operating System name |
static String |
osVersion()
Return the Operating System version |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final int numProcessors()
public static final String cpuInfo()
public static final String architecture()
public static final String operatingSystem()
public static final String osVersion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |