Class ProcessorUtil
java.lang.Object
com.pnfsoftware.jeb.core.units.codeobject.ProcessorUtil
Utility routines for
ProcessorType.-
Method Summary
Modifier and TypeMethodDescriptionstatic ProcessorTypefromArchName(String arch) Convert an architecture name to a processor type.static StringtoWellKnownUnitType(ProcessorType proctype) Convert a processor type to a well-known unit type.
-
Method Details
-
toWellKnownUnitType
Convert a processor type to a well-known unit type.- Parameters:
proctype- processor type- Returns:
- well-known unit type, or null if none
-
fromArchName
Convert an architecture name to a processor type.- Parameters:
arch- architecture name- Returns:
- processor type
-