Uses of Interface
rs.baselib.prefs.IPreferences

Packages that use IPreferences 
Package Description
rs.baselib.prefs
Preference Alternatice (kept for reference) - Experimental.
  • Uses of IPreferences in rs.baselib.prefs

    Classes in rs.baselib.prefs that implement IPreferences 
    Modifier and Type Class Description
    class  AbstractPreferences
    Abstract implementation of a preference node.
    class  Preferences
    Default implementation of preferences.
    Methods in rs.baselib.prefs that return IPreferences 
    Modifier and Type Method Description
    protected abstract IPreferences AbstractPreferencesService.createRootNode()
    Creates the root node.
    protected IPreferences PreferencesService.createRootNode()
    Creates the root node.
    protected IPreferences AbstractPreferencesService.getApplicationNode​(IPreferences node)
    Returns the application node rom the given node
    protected IPreferences AbstractPreferencesService.getApplicationPreferences​(java.lang.String applicationName)
    Returns the application preferences.
    protected IPreferences AbstractPreferencesService.getLockNode​(IPreferences node)
    Returns the node where locks will be placed upon.
    IPreferences AbstractPreferencesService.getSystemPreferences​(java.lang.String applicationName)
    Returns the system preferences for the given application.
    IPreferences IPreferencesService.getSystemPreferences​(java.lang.String applicationName)
    Returns the system preferences for the given application.
    IPreferences AbstractPreferencesService.getUserPreferences​(java.lang.String applicationName)
    Returns the user preferences for the given application.
    IPreferences IPreferencesService.getUserPreferences​(java.lang.String applicationName)
    Returns the user preferences for the given application.
    IPreferences AbstractPreferences.node​(java.lang.String pathName)
    Returns a named Preferences object (node), creating it and any of its ancestors if they do not already exist.
    IPreferences IPreferences.node​(java.lang.String pathName)
    Returns a named Preferences object (node), creating it and any of its ancestors if they do not already exist.
    IPreferences AbstractPreferences.parent()
    Returns the parent of this node, or null if this is the root.
    IPreferences IPreferences.parent()
    Returns the parent of this node, or null if this is the root.
    Methods in rs.baselib.prefs with parameters of type IPreferences 
    Modifier and Type Method Description
    void AbstractPreferencesService.flush​(IPreferences node)
    Flushes any changes made in this node.
    void IPreferencesService.flush​(IPreferences node)
    Flushes any changes made in this node.
    protected abstract void AbstractPreferencesService.flushSystemPreferences​(IPreferences node, java.lang.String applicationName)
    Flushes the system preferences from the given node.
    protected void PreferencesService.flushSystemPreferences​(IPreferences node, java.lang.String applicationName)
    Flushes the system preferences from the given node.
    protected abstract void AbstractPreferencesService.flushUserPreferences​(IPreferences node, java.lang.String applicationName)
    Flushes the user preferences from the given node.
    protected void PreferencesService.flushUserPreferences​(IPreferences node, java.lang.String applicationName)
    Flushes the user preferences from the given node.
    protected java.lang.String AbstractPreferencesService.getApplicationName​(IPreferences node)
    Returns the application name of the given node.
    protected IPreferences AbstractPreferencesService.getApplicationNode​(IPreferences node)
    Returns the application node rom the given node
    protected IPreferences AbstractPreferencesService.getLockNode​(IPreferences node)
    Returns the node where locks will be placed upon.
    java.util.concurrent.locks.Lock AbstractPreferencesService.getReadLock​(IPreferences node)
    Returns the read lock object for the given node.
    java.util.concurrent.locks.Lock IPreferencesService.getReadLock​(IPreferences node)
    Returns the read lock object for the given node.
    protected java.util.concurrent.locks.ReadWriteLock AbstractPreferencesService.getReadWriteLock​(IPreferences node)
    Returns the correct lock for the given node.
    java.util.concurrent.locks.Lock AbstractPreferencesService.getWriteLock​(IPreferences node)
    Returns the write lock object for the given node.
    java.util.concurrent.locks.Lock IPreferencesService.getWriteLock​(IPreferences node)
    Returns the write lock object for the given node.
    protected void PreferencesService.load​(IPreferences node, java.io.InputStream in)
    Loads the information from the stream into the node
    protected abstract void AbstractPreferencesService.loadSystemPreferences​(IPreferences node, java.lang.String applicationName)
    Loads the system preferences into the given node.
    protected void PreferencesService.loadSystemPreferences​(IPreferences node, java.lang.String applicationName)
    Loads the system preferences into the given node.
    protected abstract void AbstractPreferencesService.loadUserPreferences​(IPreferences node, java.lang.String applicationName)
    Loads the user preferences into the given node.
    protected void PreferencesService.loadUserPreferences​(IPreferences node, java.lang.String applicationName)
    Loads the user preferences into the given node.
    void AbstractPreferencesService.nodeChanged​(IPreferences node)
    A node changed.
    protected void PreferencesService.put​(IPreferences node, java.lang.String key, java.lang.String value)
    Stores the key at the appropriate sub-node.
    protected void PreferencesService.save​(java.lang.String prefix, IPreferences node, java.io.PrintWriter out)
    Recursively stores the given node into the writer.
    protected void PreferencesService.save​(IPreferences node, java.io.OutputStream out)
    Saves the node information into the stream
    void AbstractPreferencesService.sync​(IPreferences node)
    Wait for any modifications to be flushed.
    void IPreferencesService.sync​(IPreferences node)
    Wait for any modifications to be flushed.