de.spieleck.config
Class ConfigFileNode
java.lang.Object
|
+--de.spieleck.config.ConfigNodeImpl
|
+--de.spieleck.config.ConfigFileNode
- All Implemented Interfaces:
- ConfigNode
- public class ConfigFileNode
- extends ConfigNodeImpl
- implements ConfigNode
A ConfigNode that is responsible for actually holding nodes
from a file. Note: Due to independance of logical and
file structure these nodes are only spurious in the logical part
of the tree. They are kept however to hold propper dependencies
of nodes on files.
Methods inherited from class de.spieleck.config.ConfigNodeImpl |
addChild, addChild, children, childrenNamed, copyChildren, countChildren, countChildrenNamed, getBoolean, getBoolean, getDouble, getDouble, getInhBoolean, getInhDouble, getInhInt, getInhString, getInt, getInt, getName, getParent, getPath, getString, getString, getValue, node, nodeInh, print, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface de.spieleck.config.ConfigNode |
children, childrenNamed, countChildren, countChildrenNamed, getBoolean, getBoolean, getDouble, getDouble, getInhBoolean, getInhDouble, getInhInt, getInhString, getInt, getInt, getName, getParent, getPath, getString, getString, node, nodeInh, print |
fName
protected java.lang.String fName
inFile
protected java.io.File inFile
lastModified
protected long lastModified
subReadNodes
protected java.util.Set subReadNodes
setParent
protected void setParent(ConfigNode p)
- Overrides:
setParent
in class ConfigNodeImpl
addSubReader
protected void addSubReader(ConfigNode subReader)
getSourceFileName
public java.lang.String getSourceFileName()
- Overrides:
getSourceFileName
in class ConfigNodeImpl
getBranchNode
public ConfigFileNode getBranchNode()
- Description copied from interface:
ConfigNode
- Find the node responsible for reading this node from file.
- Specified by:
getBranchNode
in interface ConfigNode
- Overrides:
getBranchNode
in class ConfigNodeImpl