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