Class ConfigurationToXStream
java.lang.Object
com.atlassian.bamboo.serialization.xstream.ConfigurationToXStream
Converts Apache's
HierarchicalConfiguration
to XStream writer.-
Constructor Summary
ConstructorDescriptionConfigurationToXStream
(org.apache.commons.configuration.HierarchicalConfiguration from) -
Method Summary
Modifier and TypeMethodDescriptionstatic void
convert
(org.apache.commons.configuration.HierarchicalConfiguration from, com.thoughtworks.xstream.io.HierarchicalStreamWriter to) static void
convertNode
(org.apache.commons.configuration.tree.ConfigurationNode from, com.thoughtworks.xstream.io.HierarchicalStreamWriter to) void
writeTo
(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer)
-
Constructor Details
-
ConfigurationToXStream
public ConfigurationToXStream(org.apache.commons.configuration.HierarchicalConfiguration from)
-
-
Method Details
-
writeTo
public void writeTo(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer) -
convert
public static void convert(org.apache.commons.configuration.HierarchicalConfiguration from, com.thoughtworks.xstream.io.HierarchicalStreamWriter to) -
convertNode
public static void convertNode(org.apache.commons.configuration.tree.ConfigurationNode from, com.thoughtworks.xstream.io.HierarchicalStreamWriter to)
-