public List<LenskitConfiguration> loadConfigurations(List<File> files) throws IOException, RecommenderConfigurationException {
if (files == null || files.isEmpty()) {
return Collections.emptyList();
}
ConfigurationLoader loader = new ConfigurationLoader(getClassLoader());
// FIXME Make properties available
List<LenskitConfiguration> configs = Lists.newArrayListWithCapacity(files.size());
for (File file: files) {
configs.add(loader.load(file));
}
return configs;
}