osdep.proxy
Class ProxyPropertyValues

java.lang.Object
  extended by osdep.proxy.ProxyPropertyValues

public class ProxyPropertyValues
extends java.lang.Object

To set or get the proxy configuration data as system properties

Author:
SHZ Mar 14, 2008

Constructor Summary
ProxyPropertyValues(ProxyPropertyNames names, boolean proxySet, java.lang.String proxyHost, int proxyPort)
           
 
Method Summary
static ProxyPropertyValues retrieveCurrentValues(ProxyPropertyNames names)
          Gets the proxy configuration of the application
 void setProperties()
          Sets the proxy configuration of the application
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyPropertyValues

public ProxyPropertyValues(ProxyPropertyNames names,
                           boolean proxySet,
                           java.lang.String proxyHost,
                           int proxyPort)
Parameters:
names -
proxySet -
proxyHost -
proxyPort -
Method Detail

setProperties

public void setProperties()
Sets the proxy configuration of the application


retrieveCurrentValues

public static ProxyPropertyValues retrieveCurrentValues(ProxyPropertyNames names)
                                                 throws ProxyException
Gets the proxy configuration of the application

Parameters:
names -
Returns:
the current proxy configuration retrieved from the system properties
Throws:
ProxyException