org.ocd.prefs.file
Class FilePreferencesFactory

java.lang.Object
  |
  +--org.ocd.prefs.file.FilePreferencesFactory
All Implemented Interfaces:
PreferencesFactory

public class FilePreferencesFactory
extends java.lang.Object
implements PreferencesFactory

Since:
$Date: 2002/03/29 08:01:16 $
Version:
$Revision: 1.2 $
Author:
$Author: ocd_dino $, ocd_dino - ocd_dino@users.sourceforge.net (initial author)

Constructor Summary
FilePreferencesFactory(java.io.File pPrefDir)
          Creates new FilePreferencesFactory
 
Method Summary
 Preferences systemRoot()
          Returns the system root preference node.
 Preferences userRoot()
          Returns the user root preference node corresponding to the calling user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilePreferencesFactory

public FilePreferencesFactory(java.io.File pPrefDir)
Creates new FilePreferencesFactory
Method Detail

userRoot

public Preferences userRoot()
Returns the user root preference node corresponding to the calling user. In a server, the returned value will typically depend on some implicit client-context.
Specified by:
userRoot in interface PreferencesFactory

systemRoot

public Preferences systemRoot()
Returns the system root preference node. (Multiple calls on this method will return the same object reference.)
Specified by:
systemRoot in interface PreferencesFactory