View Javadoc

1   package org.kuali.common.util.properties;
2   
3   import java.util.List;
4   import java.util.Properties;
5   
6   public class SimplePropertiesService implements PropertiesService {
7   
8   	@Override
9   	public Properties getProperties(List<Location> locations) {
10  		Properties properties = new Properties();
11  		for (Location location : locations) {
12  			Properties loaded = new LocationLoader(location).load();
13  			properties.putAll(loaded);
14  		}
15  		return properties;
16  	}
17  
18  }