/** * Update the configuration hold by this object * * @param pExtractor an extractor for retrieving the configuration from some external object */ public void updateGlobalConfiguration(ConfigExtractor pExtractor) { Enumeration e = pExtractor.getNames(); while (e.hasMoreElements()) { String keyS = (String) e.nextElement(); ConfigKey key = ConfigKey.getGlobalConfigKey(keyS); if (key != null) { globalConfig.put(key,pExtractor.getParameter(keyS)); } } }
/** * Update the configuration hold by this object * * @param pExtractor an extractor for retrieving the configuration from some external object */ public void updateGlobalConfiguration(ConfigExtractor pExtractor) { Enumeration e = pExtractor.getNames(); while (e.hasMoreElements()) { String keyS = (String) e.nextElement(); ConfigKey key = ConfigKey.getGlobalConfigKey(keyS); if (key != null) { globalConfig.put(key,pExtractor.getParameter(keyS)); } } }
/** * Update the configuration hold by this object * * @param pExtractor an extractor for retrieving the configuration from some external object */ public void updateGlobalConfiguration(ConfigExtractor pExtractor) { Enumeration e = pExtractor.getNames(); while (e.hasMoreElements()) { String keyS = (String) e.nextElement(); ConfigKey key = ConfigKey.getGlobalConfigKey(keyS); if (key != null) { globalConfig.put(key,pExtractor.getParameter(keyS)); } } }