List of usage examples for org.apache.commons.configuration FileConfiguration getString
String getString(String key);
From source file:org.zaproxy.zap.extension.httppanel.component.HttpPanelComponentViewsManager.java
public void loadConfig(FileConfiguration fileConfiguration) { savedSelectedViewName = fileConfiguration.getString(configurationKey + DEFAULT_VIEW_KEY); Iterator<HttpPanelView> it = views.values().iterator(); while (it.hasNext()) { it.next().loadConfiguration(fileConfiguration); }// w w w. j av a 2 s . co m }
From source file:org.zaproxy.zap.extension.httppanel.HttpPanel.java
public void loadConfig(FileConfiguration fileConfiguration) { savedLastSelectedComponentName = fileConfiguration.getString(baseConfigurationKey + DEFAULT_COMPONENT_KEY); synchronized (components) { Iterator<HttpPanelComponentInterface> it = components.values().iterator(); while (it.hasNext()) { it.next().loadConfig(fileConfiguration); }// ww w .j a va 2s . c o m } }