|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Abstraction of Eclipse plugins
Method Summary | |
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 |
java.lang.String |
getManifestAttribute(java.lang.String key)
|
java.util.Properties |
getPluginProperties()
Loads the plugin.properties file from a the plugin, usually needed in order to resolve the artifact name. |
java.util.Properties |
getPomProperties()
Properties to add to the pom |
boolean |
hasManifest()
Whether the manifest is present or not |
Method Detail |
public java.util.jar.Manifest getManifest() throws java.io.IOException
null
if it has no manifest
java.io.IOException
public boolean hasManifest() throws java.io.IOException
java.io.IOException
public java.util.jar.JarFile getJar() throws java.io.IOException
java.io.IOException
public java.io.File getJarFile() throws java.io.IOException
java.io.IOException
public java.util.Properties getPluginProperties() throws java.io.IOException
java.io.IOException
- for exceptions while reading the filepublic java.util.Properties getPomProperties()
public java.lang.String getManifestAttribute(java.lang.String key) throws java.io.IOException
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |