|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.aries.util.manifest.BundleManifest
public class BundleManifest
Entity class to retrieve and represent a bundle manifest (valid or invalid).
| Constructor Summary | |
|---|---|
BundleManifest(InputStream manifestIs)
Create a BundleManifest object from the InputStream to the manifest (not to the bundle) |
|
BundleManifest(Manifest m)
Create a BundleManifest object from a common Manifest object |
|
| Method Summary | |
|---|---|
static BundleManifest |
fromBundle(File f)
Retrieve a bundle manifest from the given jar file, which can be exploded or compressed |
static BundleManifest |
fromBundle(IFile f)
Retrieve a BundleManifest from the given jar file |
static BundleManifest |
fromBundle(InputStream is)
Read a manifest from a jar input stream. |
String |
getManifestVersion()
|
Attributes |
getRawAttributes()
|
Manifest |
getRawManifest()
|
String |
getSymbolicName()
|
org.osgi.framework.Version |
getVersion()
|
boolean |
isValid()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BundleManifest(InputStream manifestIs)
throws IOException
manifestIs -
IOExceptionpublic BundleManifest(Manifest m)
m - | Method Detail |
|---|
public static BundleManifest fromBundle(InputStream is)
is -
public static BundleManifest fromBundle(IFile f)
f -
public static BundleManifest fromBundle(File f)
f -
public String getSymbolicName()
public org.osgi.framework.Version getVersion()
public String getManifestVersion()
public Attributes getRawAttributes()
public Manifest getRawManifest()
public boolean isValid()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||