public final class PluginsCollectionConfig extends Object
| Constructor and Description |
|---|
PluginsCollectionConfig() |
| Modifier and Type | Method and Description |
|---|---|
static PluginsCollectionConfig |
fromValues(List<PluginConfig> pluginConfigs)
Creates plugins config from list of plugin configs
|
static PluginsCollectionConfig |
fromXml(InputStream toConvert)
Converts XML file to PluginsCollectionConfig,
|
static PluginsCollectionConfig |
fromXml(String toConvert)
Converts XML file to PluginsCollectionConfig,
|
List<PluginConfig> |
getPlugins() |
static String |
toXml(PluginsCollectionConfig toConvert,
Boolean prettyXml)
Converts PluginsCollectionConfig to XML,
|
static void |
toXml(PluginsCollectionConfig toConvert,
OutputStream stream,
Boolean prettyXml)
Converts PluginsCollectionConfig to XML,
|
public static PluginsCollectionConfig fromValues(List<PluginConfig> pluginConfigs)
pluginConfigs - public List<PluginConfig> getPlugins()
public static String toXml(PluginsCollectionConfig toConvert, Boolean prettyXml) throws JAXBException, IOException
JAXBExceptionIOExceptionfor more detailspublic static PluginsCollectionConfig fromXml(String toConvert) throws JAXBException
JAXBExceptionfor more detailspublic static void toXml(PluginsCollectionConfig toConvert, OutputStream stream, Boolean prettyXml) throws JAXBException
JAXBExceptionfor more detailspublic static PluginsCollectionConfig fromXml(InputStream toConvert) throws JAXBException
JAXBExceptionfor more detailsCopyright © 2015–2016 The veraPDF Consortium. All rights reserved.