|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConfigurationProvider
Defines how the configuration for a generation unit can be accessed. Implementing classes provide InputStreams to access the various parts of the configuration.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||