com.darwinsys.util
Class PrefsUtils

java.lang.Object
  extended by com.darwinsys.util.PrefsUtils

public class PrefsUtils
extends java.lang.Object


Constructor Summary
PrefsUtils()
           
 
Method Summary
static java.util.prefs.Preferences getUserPrefsNode(java.lang.Object mainClassInstance)
          Gets the Preferences node for a package, given one class in the package (either by reference or by reference to its Class object).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrefsUtils

public PrefsUtils()
Method Detail

getUserPrefsNode

public static java.util.prefs.Preferences getUserPrefsNode(java.lang.Object mainClassInstance)
Gets the Preferences node for a package, given one class in the package (either by reference or by reference to its Class object).

Parameters:
mainClassInstance - Either the object, or the object's Class object.


Copyright © 1996-2004 Ian F. Darwin. See license.html for usage license.