edu.stanford.nlp.util
Class DisabledPreferencesFactory
java.lang.Object
edu.stanford.nlp.util.DisabledPreferencesFactory
- All Implemented Interfaces:
- java.util.prefs.PreferencesFactory
public class DisabledPreferencesFactory
- extends java.lang.Object
- implements java.util.prefs.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DisabledPreferencesFactory
public DisabledPreferencesFactory()
systemRoot
public java.util.prefs.Preferences systemRoot()
- Specified by:
systemRoot
in interface java.util.prefs.PreferencesFactory
userRoot
public java.util.prefs.Preferences userRoot()
- Specified by:
userRoot
in interface java.util.prefs.PreferencesFactory
install
public static void install()
Stanford NLP Group