org.apache.excalibur.util.system
Class WindowsXP

java.lang.Object
  extended byorg.apache.excalibur.util.system.WindowsXP
All Implemented Interfaces:
CPUParser

public final class WindowsXP
extends java.lang.Object
implements CPUParser

Parses the Windows XP environment.

Version:
CVS $Revision: 1.4 $ $Date: 2004/02/28 11:47:29 $
Author:
Avalon Development Team

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
 

Constructor Detail

WindowsXP

public WindowsXP()
Create this instance of CPUParser and gather information from the Windows XP system.

Method Detail

numProcessors

public int numProcessors()
Return the number of processors available on the machine

Specified by:
numProcessors in interface CPUParser

cpuInfo

public java.lang.String cpuInfo()
Return the cpu info for the processors (assuming symetric multiprocessing which means that all CPUs are identical). The format is: ${arch} family ${family} Model ${model} Stepping ${stepping}, ${identifier}

Specified by:
cpuInfo in interface CPUParser


Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.