public interface ConfigurationProvider
| Modifier and Type | Method and Description | 
|---|---|
| InputStream | getControlConfigurationInputStream()Creates a reader to access the control configuration. | 
| String | getControlConfigurationLocation()Returns the location of the control configuration as human readable
 String for debugging and error tracking purposes. | 
| InputStream | getOptionsInputStream(String name)Creates a reader to access an options file. | 
| InputStream | getOutletConfigurationInputStream(String name)Creates a reader to access the configuration for one outlet. | 
| Collection<String> | getOutletConfigurationNames()Returns a list of all found outlet configuration files in the
 generation unit. | 
| InputStream | getResourceInputStream(String path)Creates a reader to access a resource file. | 
| InputStream | getTemplateInputStream(String name)Creates a reader to access a template. | 
| Collection<String> | getTemplateNames()Lists all available template names. | 
InputStream getControlConfigurationInputStream() throws ConfigurationException
ConfigurationException - if the reader can not be created.String getControlConfigurationLocation() throws ConfigurationException
ConfigurationException - if the location name can not be created.Collection<String> getTemplateNames() throws ConfigurationException
ConfigurationException - if the template names
         cannot be determined.InputStream getTemplateInputStream(String name) throws ConfigurationException
name - the name (==path to) of the template.ConfigurationException - if the reader can not be created.Collection<String> getOutletConfigurationNames() throws ConfigurationException
ConfigurationException - if the configuration can not be read.InputStream getOutletConfigurationInputStream(String name) throws ConfigurationException
name - the name (==path to) of the outlet configuration.ConfigurationException - if the reader can not be created.InputStream getOptionsInputStream(String name) throws ConfigurationException
name - the name (==path to) of the options file.ConfigurationException - if the reader can not be created.InputStream getResourceInputStream(String path) throws ConfigurationException
path - the path to of the resource file.ConfigurationException - if the reader can not be created.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.