public class PackagedPlugin extends AbstractEclipseOsgiPlugin
Constructor and Description |
---|
PackagedPlugin(File jar) |
Modifier and Type | Method and Description |
---|---|
JarFile |
getJar()
Get a jar with the plugin contents
|
File |
getJarFile()
Get a jar with the plugin contents
|
Manifest |
getManifest()
Get the plugin Manifest
|
boolean |
hasManifest()
Whether the manifest is present or not
|
getFile, getManifestAttribute, getPluginProperties, getPomProperties, setFile, toString
public PackagedPlugin(File jar) throws IOException
IOException
public boolean hasManifest() throws IOException
EclipseOsgiPlugin
IOException
public JarFile getJar() throws IOException
EclipseOsgiPlugin
IOException
public Manifest getManifest() throws IOException
EclipseOsgiPlugin
null
if it has no manifestIOException
public File getJarFile() throws IOException
EclipseOsgiPlugin
IOException
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.