Mobile Tools for Java
Release 1.0

org.eclipse.mtj.core.model.library.api
Class APIRegistry

java.lang.Object
  extended by org.eclipse.mtj.core.model.library.api.APIRegistry

public class APIRegistry
extends Object

Provides access to the API definitions that have been registered via the API extension point.


Method Summary
static API getAPI(String identifier, Version version)
          Return the API with the specified identifier and version.
static List<API> getAPIDefinitions()
          Return the API instances in the order that they were found within the registry.
static API[] getAPIs(File jarFile)
          Return the list of API's present in specified JAR file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAPI

public static API getAPI(String identifier,
                         Version version)
Return the API with the specified identifier and version.

Parameters:
identifier -
version -
Returns:

getAPIDefinitions

public static List<API> getAPIDefinitions()
                                   throws IOException
Return the API instances in the order that they were found within the registry.

Returns:
Throws:
IOException

getAPIs

public static API[] getAPIs(File jarFile)
Return the list of API's present in specified JAR file.

Parameters:
jarFile -
Returns:
Throws:
IOException

Mobile Tools for Java
Release 1.0