public class PluginDescriptorReaderImpl extends Object implements PluginDescriptorReader
PluginDescriptorReader that parses YAML files.| Constructor and Description |
|---|
PluginDescriptorReaderImpl() |
| Modifier and Type | Method and Description |
|---|---|
PluginDescriptor |
read(InputStream is)
Parses a
PluginDescriptor from the given stream |
PluginDescriptor |
read(Reader reader)
Parses a
PluginDescriptor from the given reader |
public PluginDescriptor read(InputStream is) throws PluginException
PluginDescriptor from the given streamread in interface PluginDescriptorReaderis - the stream to parsePluginException - if there is any error parsing the streampublic PluginDescriptor read(Reader reader) throws PluginException
PluginDescriptor from the given readerread in interface PluginDescriptorReaderreader - the reader to parsePluginException - if there is any error parsing the readerCopyright © 2021 CrafterCMS. All rights reserved.