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 aPluginDescriptor
from the given streamParses aPluginDescriptor
from the given reader
-
Method Details
-
read
Parses aPluginDescriptor
from 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 aPluginDescriptor
from the given reader- Parameters:
reader
- the reader to parse- Returns:
- the plugin descriptor
- Throws:
PluginException
- if there is any error parsing the reader
-