ice.ri.enhancedawt.browser
Class ConfigurationManager

java.lang.Object
  extended byice.ri.enhancedawt.browser.ConfigurationManager
All Implemented Interfaces:
EventListener, VetoableChangeListener

public class ConfigurationManager
extends Object
implements VetoableChangeListener

The ConfigurationManager class governs the setup, and administration of the various Browser managers such as Cookies, Cache, etc.


Field Summary
static String SETTINGS_SUBDIR
           
 
Method Summary
 void clearCache()
          Tells the cache manager to clear all of the caches Also flushes the images out.
 void clearCookies()
          Tells the cookies manager to clear all cookies.
 void configureCookies(Preferences prefs)
          Sets up the cookie manager and reads the cookies file (if present).
 void configureStreamHandling()
          Configures the Stream handling configuration of the browser.
 DataStorage getStorage()
           
 String[] listCookies()
          Returns the list of cookies.
 void resetProxy(boolean useProxy)
          Reset the proxymanager when changes have been made in the options dialog Ref bug#2803
 void vetoableChange(PropertyChangeEvent evt)
          The VetoableChangeListener method.
 void writeCookies()
          Tells the cookies manager to the "cookies" file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SETTINGS_SUBDIR

public static final String SETTINGS_SUBDIR
See Also:
Constant Field Values
Method Detail

getStorage

public DataStorage getStorage()

configureCookies

public void configureCookies(Preferences prefs)
Sets up the cookie manager and reads the cookies file (if present).


configureStreamHandling

public void configureStreamHandling()
Configures the Stream handling configuration of the browser.


resetProxy

public void resetProxy(boolean useProxy)
Reset the proxymanager when changes have been made in the options dialog Ref bug#2803


clearCache

public void clearCache()
Tells the cache manager to clear all of the caches Also flushes the images out.


writeCookies

public void writeCookies()
Tells the cookies manager to the "cookies" file.


clearCookies

public void clearCookies()
Tells the cookies manager to clear all cookies.


listCookies

public String[] listCookies()
Returns the list of cookies.


vetoableChange

public void vetoableChange(PropertyChangeEvent evt)
The VetoableChangeListener method. This method persists cookies as they are received.

Specified by:
vetoableChange in interface VetoableChangeListener