edu.stanford.nlp.util
Class DisabledPreferencesFactory

java.lang.Object
  extended by edu.stanford.nlp.util.DisabledPreferencesFactory
All Implemented Interfaces:
PreferencesFactory

public class DisabledPreferencesFactory
extends Object
implements PreferencesFactory

Returns do-nothing Preferences implementation. We don't use this facility, so we want to avoid the hassles that come with the JVM's implementation. Taken from: http://www.allaboutbalance.com/disableprefs/index.html

Author:
Robert Slifka, Christopher Manning

Constructor Summary
DisabledPreferencesFactory()
           
 
Method Summary
static void install()
           
 Preferences systemRoot()
           
 Preferences userRoot()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisabledPreferencesFactory

public DisabledPreferencesFactory()
Method Detail

systemRoot

public Preferences systemRoot()
Specified by:
systemRoot in interface PreferencesFactory

userRoot

public Preferences userRoot()
Specified by:
userRoot in interface PreferencesFactory

install

public static void install()


Stanford NLP Group