Knopflerfish OSGi 5.2.0

org.knopflerfish.util.framework
Class Alias

java.lang.Object
  extended by org.knopflerfish.util.framework.Alias

public class Alias
extends java.lang.Object

This class contains aliases for system properties.

Author:
Jan Stein

Field Summary
static java.lang.String[][] osNameAliases
          List of OS name aliases.
static java.lang.String[][] processorAliases
          List of processor aliases.
 
Constructor Summary
Alias()
           
 
Method Summary
static java.util.ArrayList<java.lang.String> unifyOsName(java.lang.String name)
          Unify OS names.
static java.util.ArrayList<java.lang.String> unifyProcessor(java.lang.String name)
          Unify processor names.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

processorAliases

public static java.lang.String[][] processorAliases
List of processor aliases. The first entry is the true name.


osNameAliases

public static java.lang.String[][] osNameAliases
List of OS name aliases. The first entry is the true name. All aliases must be in lowercase.

Constructor Detail

Alias

public Alias()
Method Detail

unifyProcessor

public static java.util.ArrayList<java.lang.String> unifyProcessor(java.lang.String name)
Unify processor names.

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

unifyOsName

public static java.util.ArrayList<java.lang.String> unifyOsName(java.lang.String name)
Unify OS names.

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

Knopflerfish OSGi 5.2.0