public class ConfigUtil extends Object
Configuration instances.| Modifier and Type | Method and Description |
|---|---|
static Set<String> |
childKeys(org.apache.commons.configuration.Configuration config)
Get the list of child keys for a configuration node.
|
static Set<String> |
childKeys(org.apache.commons.configuration.Configuration config,
String parent)
Get the list of child keys for a configuration node.
|
static Map<String,org.apache.commons.configuration.Configuration> |
childMap(org.apache.commons.configuration.Configuration config)
Get a map of configuration nodes mapped to the names of the children of the root configuration node.
|
static Map<String,org.apache.commons.configuration.Configuration> |
childMap(org.apache.commons.configuration.Configuration config,
String parent)
Get a map of configuration nodes mapped to the names of the children of the parent parameter.
|
public static Map<String,org.apache.commons.configuration.Configuration> childMap(org.apache.commons.configuration.Configuration config, String parent)
config - Configuration object, may be a subset of the configuration tree.parent - Path to the parent node.public static Map<String,org.apache.commons.configuration.Configuration> childMap(org.apache.commons.configuration.Configuration config)
config - Configuration object, may be a subset of the configuration tree.public static Set<String> childKeys(org.apache.commons.configuration.Configuration config, String parent)
config - Configuration object, may be a subset of the configuration tree.parent - Path to the parent node.public static Set<String> childKeys(org.apache.commons.configuration.Configuration config)
config - Configuration object, may be a subset of the configuration tree.Copyright © 2015–2019 Lable. All rights reserved.