|
||||||||||
| 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
| Method Summary | |
|---|---|
void |
close()
Deprecated. Closes the accociated resources. |
static BundleInfo |
createBundleInfo(String location)
Deprecated. |
static BundleInfo |
createBundleInfo(URL url)
Deprecated. |
static BundleInfo |
createBundleInfo(org.jboss.osgi.vfs.VirtualFile root)
Deprecated. |
static BundleInfo |
createBundleInfo(org.jboss.osgi.vfs.VirtualFile root,
String location)
Deprecated. |
boolean |
equals(Object obj)
Deprecated. |
static int |
getBundleManifestVersion(Manifest manifest)
Deprecated. Get the bundle manifest version. |
String |
getLocation()
Deprecated. Get the bundle location |
Manifest |
getManifest()
Deprecated. |
String |
getManifestHeader(String key)
Deprecated. Get the manifest header for the given key. |
org.jboss.osgi.vfs.VirtualFile |
getRoot()
Deprecated. Get the bundle root file |
URL |
getRootURL()
Deprecated. Get the bundle root url |
String |
getSymbolicName()
Deprecated. Get the bundle symbolic name |
org.osgi.framework.Version |
getVersion()
Deprecated. Get the bundle version |
int |
hashCode()
Deprecated. |
static boolean |
isValidateBundleManifest(Manifest manifest)
Deprecated. use isValidBundleManifest(java.util.jar.Manifest) |
static boolean |
isValidBundle(org.jboss.osgi.vfs.VirtualFile virtualFile)
Deprecated. Validate manifest from the given virtual file. |
static boolean |
isValidBundleManifest(Manifest manifest)
Deprecated. Validate a given bundle manifest. |
String |
toString()
Deprecated. |
static void |
validateBundleManifest(Manifest manifest)
Deprecated. Validate a given bundle manifest. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static BundleInfo createBundleInfo(String location)
throws org.osgi.framework.BundleException
org.osgi.framework.BundleException
public static BundleInfo createBundleInfo(URL url)
throws org.osgi.framework.BundleException
org.osgi.framework.BundleException
public static BundleInfo createBundleInfo(org.jboss.osgi.vfs.VirtualFile root)
throws org.osgi.framework.BundleException
org.osgi.framework.BundleException
public static BundleInfo createBundleInfo(org.jboss.osgi.vfs.VirtualFile root,
String location)
throws org.osgi.framework.BundleException
org.osgi.framework.BundleExceptionpublic static boolean isValidBundle(org.jboss.osgi.vfs.VirtualFile virtualFile)
virtualFile - The virtualFile that is checked for a valid manifest
public static boolean isValidBundleManifest(Manifest manifest)
manifest - The given manifest
public static boolean isValidateBundleManifest(Manifest manifest)
isValidBundleManifest(java.util.jar.Manifest)
manifest - The given manifest
public static void validateBundleManifest(Manifest manifest)
throws org.osgi.framework.BundleException
manifest - The given manifest
org.osgi.framework.BundleException - if this is not a valid bundle manifestpublic static int getBundleManifestVersion(Manifest manifest)
manifest - The given manifest
public String getManifestHeader(String key)
public String getLocation()
public org.jboss.osgi.vfs.VirtualFile getRoot()
public URL getRootURL()
public String getSymbolicName()
public org.osgi.framework.Version getVersion()
public void close()
public Manifest getManifest()
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||