public class PackagedPlugin extends AbstractEclipseOsgiPlugin
| Constructor and Description |
|---|
PackagedPlugin(java.io.File jar) |
| Modifier and Type | Method and Description |
|---|---|
java.util.jar.JarFile |
getJar()
Get a jar with the plugin contents
|
java.io.File |
getJarFile()
Get a jar with the plugin contents
|
java.util.jar.Manifest |
getManifest()
Get the plugin Manifest
|
boolean |
hasManifest()
Whether the manifest is present or not
|
getFile, getManifestAttribute, getPluginProperties, getPomProperties, setFile, toStringpublic PackagedPlugin(java.io.File jar)
throws java.io.IOException
java.io.IOExceptionpublic boolean hasManifest()
throws java.io.IOException
EclipseOsgiPluginjava.io.IOExceptionpublic java.util.jar.JarFile getJar()
throws java.io.IOException
EclipseOsgiPluginjava.io.IOExceptionpublic java.util.jar.Manifest getManifest()
throws java.io.IOException
EclipseOsgiPluginnull if it has no manifestjava.io.IOExceptionpublic java.io.File getJarFile()
throws java.io.IOException
EclipseOsgiPluginjava.io.IOException