Package net.officefloor.configuration
Interface ConfigurationItem
-
- All Known Subinterfaces:
WritableConfigurationItem
public interface ConfigurationItemItem of configuration within aConfigurationContext.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.InputStreamgetInputStream()ObtainsInputStreamto the configuration that this represents.java.io.ReadergetReader()Obtains theReaderto the configuration that this represents.
-
-
-
Method Detail
-
getReader
java.io.Reader getReader() throws ConfigurationErrorObtains theReaderto the configuration that this represents.- Returns:
Readerto the configuration.- Throws:
ConfigurationError- Let this propagate to let OfficeFloor handle failure in loadingConfigurationItem.
-
getInputStream
java.io.InputStream getInputStream() throws ConfigurationErrorObtainsInputStreamto the configuration that this represents.- Returns:
InputStreamto the configuration.- Throws:
ConfigurationError- Let this propagate to let OfficeFloor handle failure in loadingConfigurationItem.
-
-