|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.excalibur.util.system.Windows2000
public final class Windows2000
Parses the Windows 2000 environment--the same class should work for other Windows versions, but I only have one to test.
Constructor Summary | |
---|---|
Windows2000()
|
Method Summary | |
---|---|
java.lang.String |
cpuInfo()
Return the cpu info for the processors (assuming symetric multiprocessing which means that all CPUs are identical). |
int |
numProcessors()
Return the number of processors available on the machine |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Windows2000()
Method Detail |
---|
public int numProcessors()
numProcessors
in interface CPUParser
public java.lang.String cpuInfo()
cpuInfo
in interface CPUParser
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |