public static synchronized void addFromProperties(Properties props) throws Exception {
  Set<Object> keys=props.keySet();
  Iterator<Object> keysI=keys.iterator();
  while (keysI.hasNext()) {
    String baseType=(String)keysI.next();
    String implementations=props.getProperty(baseType);
    if (implementations != null && implementations.length() > 0) {
      String[] parts=implementations.split(",");
      for (      String impl : parts) {
        PluginManager.addPlugin(baseType,impl.trim(),impl.trim());
      }
    }
  }
}

public static synchronized void addFromProperties ( Properties props ) throws Exception { Set < Object > keys = props . keySet ( ) ; Iterator < Object > keysI = keys . iterator ( ) ; while ( keysI . hasNext ( ) ) { String baseType = ( String ) keysI . next ( ) ; String implementations = props . getProperty ( baseType ) ; if ( implementations != null && implementations . length ( ) > 0 ) { String [ ] parts = implementations . split ( "," ) ; for ( String impl : parts ) { PluginManager . addPlugin ( baseType , impl . trim ( ) , impl . trim ( ) ) ; } } } }
add all key value pairs from the supplied properties object
