|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ApplicationMetadata
A representation of an APPLICATION.MF file.
Method Summary | |
---|---|
List<Content> |
getApplicationContents()
get the list of Application contents includes bundle name, version, directives and attributes |
List<ServiceDeclaration> |
getApplicationExportServices()
get the value of the Export-Service header |
List<ServiceDeclaration> |
getApplicationImportServices()
get the value of the Import-Service header |
String |
getApplicationName()
get the name of the application |
String |
getApplicationScope()
get the value of the Application-Scope, which is calculated from Application-SymbolicName and Application-Version |
String |
getApplicationSymbolicName()
get the value of the Application-SymbolicName header |
Version |
getApplicationVersion()
get the value of the Application-Version header |
Collection<Content> |
getUseBundles()
get the list of use-bundle content including bundle symbolic name and version range |
void |
store(File f)
Persist this metadata. |
void |
store(OutputStream out)
Persist this metadata. |
Method Detail |
---|
String getApplicationSymbolicName()
Version getApplicationVersion()
String getApplicationName()
List<Content> getApplicationContents()
List<ServiceDeclaration> getApplicationExportServices()
List<ServiceDeclaration> getApplicationImportServices()
String getApplicationScope()
Collection<Content> getUseBundles()
void store(File f) throws IOException
f
- The file to store this metadata to
IOException
void store(OutputStream out) throws IOException
out
- The output stream to store this metadata to
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |