Package ch.kk7.confij.source.defaults
Class DefaultSource
java.lang.Object
ch.kk7.confij.source.defaults.DefaultSource
- All Implemented Interfaces:
ConfijSource
public class DefaultSource extends java.lang.Object implements ConfijSource
This is a special ConfigSource since it does not simply override existing values.
It rather extends them, by introducing missing nodes and setting default values
(all taken from code and not from external).
-
Constructor Summary
Constructors Constructor Description DefaultSource() -
Method Summary
Modifier and Type Method Description voidoverride(ConfijNode rootNode)protected voidoverrideBranch(ConfijNode confijBranch)protected voidoverrideLeaf(ConfijNode leafNode)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DefaultSource
public DefaultSource()
-
-
Method Details
-
override
- Specified by:
overridein interfaceConfijSource
-
overrideLeaf
-
overrideBranch
-