org.eclipse.mtj.core.sdk.device
Interface ILibraryImporter
-
public interface ILibraryImporter
The ILibraryImporter provides a way for clients to create an ILibrary
instance based on a jar file.
MTJ provides 1 implementation for this interface, the UEI library importer(
LIBRARY_IMPORTER_UEI
) and it is accessible through the
MTJCore.getLibraryImporter(String)
method.
-
Since:
- 1.0
Method Summary
|
ILibrary
|
createLibraryFor
(
File libraryJarFile)
Construct and return a new ILibrary instance for the specified library
file. |
ILibrary
|
createLibraryFor
(
File libraryJarFile,
List<IAccessRule> accessRules)
Construct and return a new ILibrary instance for the specified library
file with the provided access rules. |
LIBRARY_IMPORTER_UEI
static final
String LIBRARY_IMPORTER_UEI
- Constant that represents the UEI library importer
-
See Also:
-
Constant Field Values
createLibraryFor
ILibrary createLibraryFor(
File libraryJarFile)
- Construct and return a new ILibrary instance for the specified library
file.
-
-
Parameters:
-
libraryJarFile
- the jar file to be wrapped up as a library.
-
Returns:
- the newly created ILibrary instance.
createLibraryFor
ILibrary createLibraryFor(
File libraryJarFile,
List<IAccessRule> accessRules)
- Construct and return a new ILibrary instance for the specified library
file with the provided access rules.
-
-
Parameters:
-
libraryJarFile
- the jar file to be wrapped up as a library. -
accessRules
- the list with all access rules for this library.
-
Returns:
- the newly created ILibrary instance.