Package org.beanio.internal.config
Interface ConfigurationLoader
-
- All Known Implementing Classes:
XmlConfigurationLoader
public interface ConfigurationLoader
AConfigurationLoader
is used to load BeanIO mapping configurations from an input stream.Implementations must be thread safe.
- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<BeanIOConfig>
loadConfiguration(java.io.InputStream in, java.util.Properties properties)
Loads a BeanIO configuration from an input stream.
-
-
-
Method Detail
-
loadConfiguration
java.util.Collection<BeanIOConfig> loadConfiguration(java.io.InputStream in, java.util.Properties properties) throws java.io.IOException, BeanIOConfigurationException
Loads a BeanIO configuration from an input stream.- Parameters:
in
- the input stream to read the configuration fromproperties
- theProperties
for expansion in the mapping file- Returns:
- a collection of loaded BeanIO configurations
- Throws:
java.io.IOException
- if an I/O error occursBeanIOConfigurationException
- if the configuration is invalid or malformed- Since:
- 1.2.1
-
-