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 PluginDescriptorReader
is
- 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 PluginDescriptorReader
reader
- the reader to parsePluginException
- if there is any error parsing the readerCopyright © 2023 CrafterCMS. All rights reserved.