Is there a way to take a java based API that loops over property names and someone add the key/value pairs to a Scala Map[String, Object] ?
Enumeration properties = something.getPropertyNames();
while (properties.hasMoreElements())
{
String propName = (String) srcProperties.nextElement();
Object v = something.getValue(propName);
}