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

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

public class AliasMapper
extends Object

This class maps aliases.


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

Constructor Detail

AliasMapper

public AliasMapper()
Method Detail

aliasProcessor

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

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

aliasOSName

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

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

initAliases

protected static Map<String,Object> initAliases(InputStream in)
Read alias data and populate a Map.

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


Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.