org.knopflerfish.framework.Alias Class Reference

List of all members.


Detailed Description

This class contains aliases for system properties.

Author:
Jan Stein

Definition at line 44 of file Alias.java.


Static Public Member Functions

static ArrayList unifyProcessor (String name)
 Unify processor names.
static ArrayList unifyOsName (String name)
 Unify OS names.

Static Public Attributes

final static String[][] processorAliases
 List of processor aliases.
final static String[][] osNameAliases
 List of OS name aliases.

Member Function Documentation

static ArrayList org.knopflerfish.framework.Alias.unifyProcessor ( String  name  )  [static]

Unify processor names.

Parameters:
name Processor name.
Returns:
The unified name.

Definition at line 81 of file Alias.java.

References org.knopflerfish.framework.Alias.processorAliases.

static ArrayList org.knopflerfish.framework.Alias.unifyOsName ( String  name  )  [static]

Unify OS names.

Parameters:
name OS name.
Returns:
The unified name.

Definition at line 102 of file Alias.java.

References org.knopflerfish.framework.Alias.osNameAliases.


Member Data Documentation

final static String [][] org.knopflerfish.framework.Alias.processorAliases [static]

Initial value:

 {
    { "Ignite", "psc1k" },
    { "PowerPC", "power", "ppc", "ppcbe" },
    { "x86", "pentium", "i386", "i486", "i586", "i686" },
    { "x86-64", "amd64" }
  }
List of processor aliases.

The first entry is the true name.

Definition at line 49 of file Alias.java.

Referenced by org.knopflerfish.framework.Alias.unifyProcessor().

final static String [][] org.knopflerfish.framework.Alias.osNameAliases [static]

Initial value:

 {
    { "MacOSX", "Mac OS X" },
    { "OS2", "os/2" },
    { "QNX", "procnto" },
    { "windows95", "windows 95", "win95" },
    { "Windows98", "windows 98", "win98" },
    { "WindowsNT", "windows nt", "winnt" },
    { "WindowsCE", "windows ce", "wince" },
    { "Windows2000", "windows 2000", "win2000" },
    { "WindowsXP", "windows xp", "winxp" },
    { "Win32", "win*" },
  }
List of OS name aliases.

The first entry is the true name. All aliases must be in lowercase.

Definition at line 61 of file Alias.java.

Referenced by org.knopflerfish.framework.Alias.unifyOsName().


The documentation for this class was generated from the following file:
Generated on Mon Jan 11 21:19:19 2010 for OpenMobileIS by  doxygen 1.5.4