Groovy Documentation

org.codehaus.griffon.runtime.prefs
[Java] Class AbstractPreferencesNode

java.lang.Object
  org.codehaus.griffon.runtime.prefs.AbstractPreferencesNode
All Implemented Interfaces:
PreferencesNode

public abstract class AbstractPreferencesNode
extends Object

Authors:
Andres Almiray


Field Summary
protected String name

protected PreferencesNode parent

private String path

protected Preferences preferences

 
Constructor Summary
AbstractPreferencesNode(Preferences preferences, PreferencesNode parent, String name)

 
Method Summary
protected boolean areEqual(Object oldValue, Object newValue)

boolean isRoot()

PreferencesNode merge(PreferencesNode other)

String name()

PreferencesNode node(Class clazz)

PreferencesNode node(String path)

PreferencesNode parent()

private String[] parsePath(String path)

String path()

PreferencesNode removeNode(Class clazz)

PreferencesNode removeNode(String path)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

name

protected final String name


parent

protected PreferencesNode parent


path

private String path


preferences

protected final Preferences preferences


 
Constructor Detail

AbstractPreferencesNode

public AbstractPreferencesNode(Preferences preferences, PreferencesNode parent, String name)


 
Method Detail

areEqual

protected boolean areEqual(Object oldValue, Object newValue)


isRoot

public boolean isRoot()


merge

public PreferencesNode merge(PreferencesNode other)


name

public String name()


node

public PreferencesNode node(Class clazz)


node

public PreferencesNode node(String path)


parent

public PreferencesNode parent()


parsePath

private String[] parsePath(String path)


path

public String path()


removeNode

public PreferencesNode removeNode(Class clazz)


removeNode

public PreferencesNode removeNode(String path)


 

Groovy Documentation