public class ConfigMisc extends Object
Utilities for creating configuration content.
Constructor and Description |
---|
ConfigMisc() |
Modifier and Type | Method and Description |
---|---|
static Supplier<byte[]> |
props(Action<Map<String,String>> mapPopulate)
Creates an XML string from a groovy.util.Node.
|
static byte[] |
props(Map<String,String> map)
Creates an XML string from a groovy.util.Node.
|
static Supplier<byte[]> |
xml(Supplier<groovy.util.Node> node)
Creates an XML string from a groovy.util.Node.
|