public class PluginManifestParser
extends java.lang.Object
Parser for plugin manifest files.
| Constructor and Description |
|---|
PluginManifestParser() |
| Modifier and Type | Method and Description |
|---|---|
static PluginDescriptor |
parseFragment(PluginDescriptor descriptor,
java.io.File file)
Parses the content of a fragment file.
|
static PluginDescriptor |
parseFragment(PluginDescriptor descriptor,
java.io.InputStream inputStream)
Parses the content of a fragment description.
|
static PluginDescriptor |
parsePlugin(PluginDescriptor descriptor,
java.io.File file)
Parses the content of a plugin description.
|
static PluginDescriptor |
parsePlugin(PluginDescriptor descriptor,
java.io.InputStream inputStream)
Parses the content of a plugin description.
|
public static PluginDescriptor parseFragment(PluginDescriptor descriptor, java.io.File file) throws FileParserException
descriptor - The PluginDescriptor instance which will receive the parsed information.file - The fragment file.FileParserException - Parsing failed for some reason.public static PluginDescriptor parsePlugin(PluginDescriptor descriptor, java.io.File file) throws FileParserException
descriptor - The descriptor used to collect the information.file - The file providing the plugin description.FileParserException - Loading the content failed for some reason.public static PluginDescriptor parsePlugin(PluginDescriptor descriptor, java.io.InputStream inputStream) throws FileParserException
descriptor - The descriptor used to collect the information.inputStream - The stream providing the plugin description.FileParserException - Loading the content failed for some reason.public static PluginDescriptor parseFragment(PluginDescriptor descriptor, java.io.InputStream inputStream) throws FileParserException
descriptor - The descriptor used to collect the information.inputStream - The stream providing the plugin description.FileParserException - Loading the content failed for some reason.