public class GnomeDConfProxySearchStrategy extends Object implements ProxySearchStrategy
The following settings are extracted from the configuration that is stored in .gconf folder found in the user's home directory:
GNOME Proxy_configuration settings are explained here in detail
| Constructor and Description |
|---|
GnomeDConfProxySearchStrategy()
ProxySelector
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the printable name of the search strategy.
|
ProxySelector |
getProxySelector()
Loads the proxy settings and initializes a proxy selector for the Gnome
proxy settings.
|
Properties |
readSettings()
Load the proxy settings from the gconf settings XML file.
|
public GnomeDConfProxySearchStrategy()
ProxySelector.ProxySelector()public ProxySelector getProxySelector() throws ProxyException
getProxySelector in interface ProxySearchStrategyProxyException - on file reading error.public String getName()
getName in interface ProxySearchStrategypublic Properties readSettings() throws ProxyException
ProxyException - on processing error.Copyright © 2022. All rights reserved.