Package net.officefloor.configuration
Interface WritableConfigurationItem
-
- All Superinterfaces:
ConfigurationItem
public interface WritableConfigurationItem extends ConfigurationItem
WritableConfigurationItem
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WritableConfigurationContext
getContext()
Obtains theWritableConfigurationContext
for thisWritableConfigurationItem
.java.io.InputStream
getRawConfiguration()
Obtains theInputStream
to the raw configuration (noPropertyList
replacement).void
setConfiguration(java.io.InputStream configuration)
Specifies the configuration that this is to represent.-
Methods inherited from interface net.officefloor.configuration.ConfigurationItem
getInputStream, getReader
-
-
-
-
Method Detail
-
getRawConfiguration
java.io.InputStream getRawConfiguration() throws java.io.IOException
Obtains theInputStream
to the raw configuration (noPropertyList
replacement).- Returns:
InputStream
to the raw configuration.- Throws:
java.io.IOException
- If fails to load the raw configuration.
-
setConfiguration
void setConfiguration(java.io.InputStream configuration) throws java.io.IOException
Specifies the configuration that this is to represent.- Parameters:
configuration
- Configuration.- Throws:
java.io.IOException
- If fails to set the configuration.
-
getContext
WritableConfigurationContext getContext()
Obtains theWritableConfigurationContext
for thisWritableConfigurationItem
.- Returns:
WritableConfigurationContext
for thisWritableConfigurationItem
.
-
-