|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.excalibur.util.system.WindowsXP
public final class WindowsXP
Parses the Windows XP environment.
Field Summary | |
---|---|
private java.lang.String |
m_cpuInfo
|
private int |
m_processors
|
Constructor Summary | |
---|---|
WindowsXP()
Create this instance of CPUParser and gather information from the Windows XP system. |
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 |
Field Detail |
---|
private final int m_processors
private final java.lang.String m_cpuInfo
Constructor Detail |
---|
public WindowsXP()
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 |