public interface DescriptorParserFactory
DescriptorParser,
XmlDescriptorParserFactory| Modifier and Type | Method and Description |
|---|---|
DescriptorParser |
getInstance(InputStream source,
Set<Application> applications)
Creates a new
DescriptorParser for getting plugin descriptor information
from the provided source data. |
DescriptorParser getInstance(InputStream source, Set<Application> applications) throws PluginParseException
DescriptorParser for getting plugin descriptor information
from the provided source data.source - the stream of data which represents the descriptor. The stream will
only be read once, so it need not be resettable.applications - The list of application keys to match for module descriptorsPluginParseException - if there was a problem creating the descriptor parser
due to an invalid source stream.Copyright © 2019 Atlassian. All rights reserved.