public static class Osgis.ManifestHelper
extends java.lang.Object
Constructor and Description |
---|
Osgis.ManifestHelper() |
Modifier and Type | Method and Description |
---|---|
static Osgis.ManifestHelper |
forManifest(java.io.InputStream in) |
static Osgis.ManifestHelper |
forManifest(java.util.jar.Manifest manifest) |
static Osgis.ManifestHelper |
forManifest(java.net.URL url) |
static Osgis.ManifestHelper |
forManifestContents(java.lang.String contents) |
java.util.List<java.lang.String> |
getExportedPackages() |
java.util.jar.Manifest |
getManifest() |
java.lang.String |
getSource() |
java.lang.String |
getSymbolicName() |
java.lang.String |
getSymbolicNameVersion() |
org.osgi.framework.Version |
getVersion() |
public static Osgis.ManifestHelper forManifestContents(java.lang.String contents) throws java.io.IOException, org.osgi.framework.BundleException
java.io.IOException
org.osgi.framework.BundleException
public static Osgis.ManifestHelper forManifest(java.net.URL url) throws java.io.IOException, org.osgi.framework.BundleException
java.io.IOException
org.osgi.framework.BundleException
public static Osgis.ManifestHelper forManifest(java.io.InputStream in) throws java.io.IOException, org.osgi.framework.BundleException
java.io.IOException
org.osgi.framework.BundleException
public static Osgis.ManifestHelper forManifest(java.util.jar.Manifest manifest) throws org.osgi.framework.BundleException
org.osgi.framework.BundleException
public java.lang.String getSymbolicName()
public org.osgi.framework.Version getVersion()
public java.lang.String getSymbolicNameVersion()
public java.util.List<java.lang.String> getExportedPackages()
@Nullable public java.lang.String getSource()
public java.util.jar.Manifest getManifest()