ca.processor
Class Processors

java.lang.Object
  extended by ca.processor.Processors

public class Processors
extends java.lang.Object

This class parses and collects the list of processor information from the Processors.xml file.


Field Summary
protected static Processors singleton
           
 
Constructor Summary
protected Processors()
           
 
Method Summary
 Processor getProcessor(java.lang.String cpuType)
          This method returns the Processor info for a target CPU.
static Processors getProcessors()
          This static method returns the singleton Processors instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

singleton

protected static Processors singleton
Constructor Detail

Processors

protected Processors()
              throws JDOMException,
                     java.io.IOException
Throws:
JDOMException
java.io.IOException
Method Detail

getProcessors

public static Processors getProcessors()
This static method returns the singleton Processors instance.

Returns:
the Processors singleton

getProcessor

public Processor getProcessor(java.lang.String cpuType)
This method returns the Processor info for a target CPU.

Parameters:
cpuType - name of the cpu mnemonic family
Returns:
the Processor info that contains the mnemonic family