public final class PluginDescriptorParser
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FRAGMENT_XML_PATH
FRAGMENT_XML_FILE_PATH
|
static java.lang.String |
MANIFEST_PATH
MANIFEST_FILE_PATH
|
static java.lang.String |
PLUGIN_PROPERTIES_FILE_PATH
PLUGIN_PROPERTIES_FILE_PATH
|
static java.lang.String |
PLUGIN_XML_PATH
PLUGIN_XML_FILE_PATH
|
| Constructor and Description |
|---|
PluginDescriptorParser() |
| Modifier and Type | Method and Description |
|---|---|
static PluginDescriptor |
parseEclipseProject(EclipseProject project)
Parses the manifest for the given eclipse project.
|
static PluginDescriptor |
parsePlugin(java.io.File file)
Parses the plugin which is located using the supplied handle.
|
public static final java.lang.String MANIFEST_PATH
public static final java.lang.String PLUGIN_XML_PATH
public static final java.lang.String PLUGIN_PROPERTIES_FILE_PATH
public static final java.lang.String FRAGMENT_XML_PATH
public static PluginDescriptor parseEclipseProject(EclipseProject project) throws FileParserException
project - FileParserExceptionpublic static PluginDescriptor parsePlugin(java.io.File file) throws FileParserException
file - The plugin which potentially refers to a plugin.FileParserException - Parsing the plugin failed for some reason.