net.proxy.sunproxy
Class InternetProxy

java.lang.Object
  extended by net.proxy.sunproxy.InternetProxy
Direct Known Subclasses:
WinInternetProxy

public abstract class InternetProxy
extends java.lang.Object

Factory for the Internet proxy object

Version:
1.3, 03/20/00

Constructor Summary
InternetProxy()
           
 
Method Summary
 InternetProxyInfo getBrowserInfo()
          This implementation is platform-dependent
 InternetProxyInfo getDefaultInfo()
          Default implementation does a lookup from configuration file or from browser settings.
static InternetProxy getInstance()
           
 java.lang.String getNS6PrefsDir()
           
static java.lang.String getNS6PrefsDirFromReg(java.io.File registryFile)
           
static java.io.File getNS6PrefsFile(java.io.File registryFile)
           
 java.io.File getNS6RegFile()
          This implementation is platform-dependent
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InternetProxy

public InternetProxy()
Method Detail

getInstance

public static InternetProxy getInstance()

getNS6PrefsDirFromReg

public static java.lang.String getNS6PrefsDirFromReg(java.io.File registryFile)

getNS6PrefsFile

public static java.io.File getNS6PrefsFile(java.io.File registryFile)

getDefaultInfo

public InternetProxyInfo getDefaultInfo()
Default implementation does a lookup from configuration file or from browser settings. We do not want to cache this, since the configuration file might change


getBrowserInfo

public InternetProxyInfo getBrowserInfo()
This implementation is platform-dependent


getNS6RegFile

public java.io.File getNS6RegFile()
This implementation is platform-dependent


getNS6PrefsDir

public java.lang.String getNS6PrefsDir()

main

public static void main(java.lang.String[] args)