Package com.atlassian.bamboo.utils
Class CommonsConfigUtils
java.lang.Object
com.atlassian.bamboo.utils.CommonsConfigUtils
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.commons.configuration.HierarchicalConfiguration
asHierarchicalConfiguration
(org.apache.commons.configuration.XMLConfiguration xmlConfiguration) static void
copyContent
(org.apache.commons.configuration.XMLConfiguration src, org.apache.commons.configuration.HierarchicalConfiguration dst) Copies content from src to dst.getKeys
(@NotNull org.apache.commons.configuration.PropertiesConfiguration config) static org.apache.commons.configuration.HierarchicalConfiguration
static void
sanitiseAndSave
(@NotNull org.apache.commons.configuration.XMLConfiguration configuration, @NotNull Writer writer)
-
Field Details
-
ATTRIBUTE_XML_SPACE
-
ATTRIBUTE_XML_SPACE_PRESERVE
-
-
Constructor Details
-
CommonsConfigUtils
public CommonsConfigUtils()
-
-
Method Details
-
sanitiseAndSave
public static void sanitiseAndSave(@NotNull @NotNull org.apache.commons.configuration.XMLConfiguration configuration, @NotNull @NotNull Writer writer) throws org.apache.commons.configuration.ConfigurationException - Throws:
org.apache.commons.configuration.ConfigurationException
-
copyContent
public static void copyContent(org.apache.commons.configuration.XMLConfiguration src, org.apache.commons.configuration.HierarchicalConfiguration dst) Copies content from src to dst. Current dst content will be cleared. -
newHierarchicalConfiguration
public static org.apache.commons.configuration.HierarchicalConfiguration newHierarchicalConfiguration() -
asHierarchicalConfiguration
public static org.apache.commons.configuration.HierarchicalConfiguration asHierarchicalConfiguration(org.apache.commons.configuration.XMLConfiguration xmlConfiguration) -
getKeys
-