org.specrunner.properties
Interface IPropertyLoader

All Known Implementing Classes:
PropertyLoaderImpl

public interface IPropertyLoader

Generic property loader. Loads properties from different property files in the classpath. i.e. if a 'plugin_css.properties' load is requested, all files 'plugin_css.properties' in classpath will be loaded.

Author:
Thiago Santos

Method Summary
 List<Properties> load(String file)
          Load a set of properties with the given name.
 

Method Detail

load

List<Properties> load(String file)
                      throws PropertyLoaderException
Load a set of properties with the given name.

Parameters:
file - The file name.
Returns:
The merge of all properties with this name in classpath.
Throws:
PropertyLoaderException - On reading properties errors.


Copyright © 2014. All rights reserved.