com.springsource.util.osgi.manifest
Interface ImportLibrary

All Superinterfaces:
Parseable
All Known Implementing Classes:
StandardImportLibrary

public interface ImportLibrary
extends Parseable

Represents the Import-Library header in a BundleManifest. Concurrent Semantics
May not be thread-safe.


Method Summary
 ImportedLibrary addImportedLibrary(java.lang.String librarySymbolicName)
          Adds an import of the library with the supplied symbolic name to this Import-Library header.
 java.util.List<ImportedLibrary> getImportedLibraries()
          Returns a List of the libraries that are imported.
 
Methods inherited from interface com.springsource.util.osgi.manifest.Parseable
resetFromParseString, toParseString
 

Method Detail

getImportedLibraries

java.util.List<ImportedLibrary> getImportedLibraries()
Returns a List of the libraries that are imported. Returns an empty List if no libraries are imported.

Returns:
the imported libraries.

addImportedLibrary

ImportedLibrary addImportedLibrary(java.lang.String librarySymbolicName)
Adds an import of the library with the supplied symbolic name to this Import-Library header.

Parameters:
librarySymbolicName - The name of the imported library.
Returns:
the newly-created ImportedLibrary.