|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.osgi.spi.util.BundleInfo
public class BundleInfo
Primitive access to bundle meta data and root virtual file. The bundle info can be constructed from various locations. If that succeeds, there is a valid OSGi Manifest.
| Method Summary | |
|---|---|
static BundleInfo |
createBundleInfo(java.lang.String location)
|
static BundleInfo |
createBundleInfo(java.net.URL url)
|
static BundleInfo |
createBundleInfo(org.jboss.virtual.VirtualFile root)
|
static BundleInfo |
createBundleInfo(org.jboss.virtual.VirtualFile root,
java.lang.String location)
|
boolean |
equals(java.lang.Object obj)
|
static int |
getBundleManifestVersion(java.util.jar.Manifest manifest)
Get the bundle manifest version. |
java.lang.String |
getLocation()
Get the bundle location |
java.lang.String |
getManifestHeader(java.lang.String key)
Get the manifest header for the given key. |
org.jboss.virtual.VirtualFile |
getRoot()
Get the bundle root file |
java.net.URL |
getRootURL()
Get the bundle root url |
java.lang.String |
getSymbolicName()
Get the bundle symbolic name |
org.osgi.framework.Version |
getVersion()
Get the bundle version |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static BundleInfo createBundleInfo(java.lang.String location)
throws org.osgi.framework.BundleException
org.osgi.framework.BundleException
public static BundleInfo createBundleInfo(java.net.URL url)
throws org.osgi.framework.BundleException
org.osgi.framework.BundleException
public static BundleInfo createBundleInfo(org.jboss.virtual.VirtualFile root)
throws org.osgi.framework.BundleException
org.osgi.framework.BundleException
public static BundleInfo createBundleInfo(org.jboss.virtual.VirtualFile root,
java.lang.String location)
throws org.osgi.framework.BundleException
org.osgi.framework.BundleExceptionpublic static int getBundleManifestVersion(java.util.jar.Manifest manifest)
manifest - The given manifest
public java.lang.String getManifestHeader(java.lang.String key)
public java.lang.String getLocation()
public org.jboss.virtual.VirtualFile getRoot()
public java.net.URL getRootURL()
public java.lang.String getSymbolicName()
public org.osgi.framework.Version getVersion()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||