Package org.craftercms.commons.plugin
Interface PluginDescriptorReader
- All Known Implementing Classes:
PluginDescriptorReaderImpl
public interface PluginDescriptorReader
Parses a
PluginDescriptor from various sources- Since:
- 3.1.1
- Author:
- joseross
-
Method Summary
Modifier and TypeMethodDescriptionread(InputStream is) Parses aPluginDescriptorfrom the given streamParses aPluginDescriptorfrom the given reader
-
Method Details
-
read
Parses aPluginDescriptorfrom the given stream- Parameters:
is- the stream to parse- Returns:
- the plugin descriptor
- Throws:
PluginException- if there is any error parsing the stream
-
read
Parses aPluginDescriptorfrom the given reader- Parameters:
reader- the reader to parse- Returns:
- the plugin descriptor
- Throws:
PluginException- if there is any error parsing the reader
-