net.proxy.sunproxy
Class WinInternetProxy

java.lang.Object
  extended by net.proxy.sunproxy.InternetProxy
      extended by net.proxy.sunproxy.WinInternetProxy

public class WinInternetProxy
extends InternetProxy

Looks up whatever information is available about the default HTTP proxy server address. For IE this means consulting a few registry entries, for Netscape this means finding the JavaScript preferences file and looking up the address information there.

Version:
1.7, 02/09/01

Constructor Summary
WinInternetProxy()
           
 
Method Summary
 InternetProxyInfo getBrowserInfo()
          Return all of the available information about the internet proxy addresses.
 java.io.File getNS6RegFile()
          This implementation is platform-dependent
 
Methods inherited from class net.proxy.sunproxy.InternetProxy
getDefaultInfo, getInstance, getNS6PrefsDir, getNS6PrefsDirFromReg, getNS6PrefsFile, main
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WinInternetProxy

public WinInternetProxy()
Method Detail

getNS6RegFile

public java.io.File getNS6RegFile()
Description copied from class: InternetProxy
This implementation is platform-dependent

Overrides:
getNS6RegFile in class InternetProxy

getBrowserInfo

public InternetProxyInfo getBrowserInfo()
Return all of the available information about the internet proxy addresses. This is as simple as looking up a few registry entries for Internet Explorer, it's a fairly convoluted process for Netscape.

Overrides:
getBrowserInfo in class InternetProxy