public interface DescriptorParserFactory
DescriptorParser,
XmlDescriptorParserFactory| Modifier and Type | Method and Description |
|---|---|
DescriptorParser |
getInstance(java.io.InputStream source,
java.util.Set<Application> applications)
Creates a new
DescriptorParser for getting plugin descriptor information
from the provided source data. |
DescriptorParser getInstance(java.io.InputStream source, java.util.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 © 2013 Atlassian. All Rights Reserved.