edu.stanford.nlp.util
Class DisabledPreferencesFactory

java.lang.Object
  extended by 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

Constructor Summary
DisabledPreferencesFactory()
           
 
Method Summary
static void install()
           
 java.util.prefs.Preferences systemRoot()
           
 java.util.prefs.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 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