* defaults of the properties, the third Map the defaults of the second Map, and so on...
* @return true all keys are present, false otherwise
*/
private static final boolean verifyAllPropsPresent(Properties props, List chainOfMappings){
Enumeration e = props.propertyNames();
HashSet propNames = new HashSet();
while (e.hasMoreElements()) {
propNames.add( e.nextElement());
}
HashSet testNames = new HashSet();
Iterator i = chainOfMappings.iterator();
while (i.hasNext()) {
Map aMapping = (Map) i.next();
testNames.addAll(aMapping.keySet());
}
return propNames.containsAll(testNames);
}