org.eclipse.osgi.framework.internal.core
Class AliasMapper

java.lang.Object
  extended by org.eclipse.osgi.framework.internal.core.AliasMapper

public class AliasMapper
extends java.lang.Object

This class maps aliases.


Constructor Summary
AliasMapper()
          Constructor.
 
Method Summary
 java.lang.Object aliasOSName(java.lang.String osname)
          Return the master alias for the osname.
 java.lang.String aliasProcessor(java.lang.String processor)
          Return the master alias for the processor.
protected static java.util.Hashtable initAliases(java.io.InputStream in)
          Read alias data and populate a Hashtable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AliasMapper

public AliasMapper()
Constructor.

Method Detail

aliasProcessor

public java.lang.String aliasProcessor(java.lang.String processor)
Return the master alias for the processor.

Parameters:
processor - Input name
Returns:
aliased name (if any)

aliasOSName

public java.lang.Object aliasOSName(java.lang.String osname)
Return the master alias for the osname.

Parameters:
osname - Input name
Returns:
aliased name (if any)

initAliases

protected static java.util.Hashtable initAliases(java.io.InputStream in)
Read alias data and populate a Hashtable.

Parameters:
in - InputStream from which to read alias data.
Returns:
Hashtable of aliases.