public class ManifestHelper
extends java.lang.Object
Constructor and Description |
---|
ManifestHelper() |
Modifier and Type | Method and Description |
---|---|
static ManifestHelper |
forManifest(java.io.InputStream in) |
static ManifestHelper |
forManifest(java.util.jar.Manifest manifest) |
static ManifestHelper |
forManifest(java.net.URL url) |
static 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 ManifestHelper forManifestContents(java.lang.String contents) throws java.io.IOException, org.osgi.framework.BundleException
java.io.IOException
org.osgi.framework.BundleException
public static ManifestHelper forManifest(java.net.URL url) throws java.io.IOException, org.osgi.framework.BundleException
java.io.IOException
org.osgi.framework.BundleException
public static ManifestHelper forManifest(java.io.InputStream in) throws java.io.IOException, org.osgi.framework.BundleException
java.io.IOException
org.osgi.framework.BundleException
public static 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()