org.ini4j
Class IniPreferencesFactoryListener

java.lang.Object
  extended by org.ini4j.IniPreferencesFactory
      extended by org.ini4j.IniPreferencesFactoryListener
All Implemented Interfaces:
java.util.EventListener, java.util.prefs.PreferencesFactory, javax.servlet.ServletContextListener

public class IniPreferencesFactoryListener
extends IniPreferencesFactory
implements javax.servlet.ServletContextListener


Field Summary
static java.lang.String DEFAULT_SYSTEM_LOCATION
           
static java.lang.String DEFAULT_USER_LOCATION
           
 
Fields inherited from class org.ini4j.IniPreferencesFactory
KEY_SYSTEM, KEY_USER, PROPERTIES
 
Constructor Summary
IniPreferencesFactoryListener()
           
 
Method Summary
 void contextDestroyed(javax.servlet.ServletContextEvent event)
           
 void contextInitialized(javax.servlet.ServletContextEvent event)
           
protected  java.lang.String getIniLocation(java.lang.String key)
           
protected  java.net.URL getResource(java.lang.String location)
           
 
Methods inherited from class org.ini4j.IniPreferencesFactory
getResourceAsStream, newIniPreferences, systemRoot, userRoot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_USER_LOCATION

public static final java.lang.String DEFAULT_USER_LOCATION
See Also:
Constant Field Values

DEFAULT_SYSTEM_LOCATION

public static final java.lang.String DEFAULT_SYSTEM_LOCATION
See Also:
Constant Field Values
Constructor Detail

IniPreferencesFactoryListener

public IniPreferencesFactoryListener()
Method Detail

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent event)
Specified by:
contextInitialized in interface javax.servlet.ServletContextListener

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent event)
Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener

getIniLocation

protected java.lang.String getIniLocation(java.lang.String key)
Overrides:
getIniLocation in class IniPreferencesFactory

getResource

protected java.net.URL getResource(java.lang.String location)
                            throws java.lang.IllegalArgumentException
Overrides:
getResource in class IniPreferencesFactory
Throws:
java.lang.IllegalArgumentException


Copyright © {inceptionYear}-2008 null. All Rights Reserved.