Class Config
- java.lang.Object
-
- com.github.mizool.core.configuration.Config
-
public final class Config extends Object
Main entry point for the configuration API.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RootNode
blank()
Creates a root node without any properties.static RootNode
from(Properties properties)
Creates a root node encapsulating access to the givenProperties
instance.static RootNode
systemProperties()
Creates a root node encapsulating access to the current system properties.
-
-
-
Method Detail
-
blank
public static RootNode blank()
Creates a root node without any properties. Usually used as a starting point followed by multipleRootNode.add()
calls.
-
systemProperties
public static RootNode systemProperties()
Creates a root node encapsulating access to the current system properties.
-
from
public static RootNode from(Properties properties)
Creates a root node encapsulating access to the givenProperties
instance.
-
-