BeanIO 2.0.4

org.beanio.internal.config
Interface ConfigurationLoader

All Known Implementing Classes:
XmlConfigurationLoader

public interface ConfigurationLoader

A ConfigurationLoader is used to load BeanIO mapping configurations from an input stream.

Implementations must be thread safe.

Since:
1.0
Author:
Kevin Seim

Method Summary
 Collection<BeanIOConfig> loadConfiguration(InputStream in, Properties properties)
          Loads a BeanIO configuration from an input stream.
 

Method Detail

loadConfiguration

Collection<BeanIOConfig> loadConfiguration(InputStream in,
                                           Properties properties)
                                           throws IOException,
                                                  BeanIOConfigurationException
Loads a BeanIO configuration from an input stream.

Parameters:
in - the input stream to read the configuration from
properties - the Properties for expansion in the mapping file
Returns:
a collection of loaded BeanIO configurations
Throws:
IOException - if an I/O error occurs
BeanIOConfigurationException - if the configuration is invalid or malformed
Since:
1.2.1

BeanIO 2.0.4

Copyright © 2010-2013 Kevin Seim