|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ILibraryImporterRegistry
The Library Importer Registry provides a place to store and retrieve
Library Importers using just it's ID.
EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same. Please do not use this API without consulting with the MTJ team.
| Method Summary | |
|---|---|
void |
addLibraryImporter(String importerId,
ILibraryImporter importer)
Register a new ILibraryImporter associated to the specified ID. |
ILibraryImporter |
getLibraryImporter(String importerId)
Retrieve a ILibraryImporter from registry. |
Set<String> |
getLibraryImporterIds()
Returns a set view of the Library Importer IDs contained in this registry. |
| Method Detail |
|---|
ILibraryImporter getLibraryImporter(String importerId)
ILibraryImporter from registry.
importerId - the ID for the ILibraryImporter. The
importerId must not be null.
ILibraryImporter associated with the passed ID or
null if no importer associated to the specified ID
was found.
void addLibraryImporter(String importerId,
ILibraryImporter importer)
ILibraryImporter associated to the specified ID.
If the registry previously contained a mapping for this ID, the old value
is replaced by the specified value.
importerId - the unique ID for the ILibraryImporter. The
importerId must not be null.importer - the ILibraryImporter to be registered. The
importer must not be null.Set<String> getLibraryImporterIds()
|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||