Interface ConfigurationAssembler
- All Known Subinterfaces:
ConfigurationAssemblerIni
,ConfigurationAssemblerXml
,ConfigurationAssemblerYaml
- All Known Implementing Classes:
ConfigurationAssemblerIni.Default
,ConfigurationAssemblerXml.Default
,ConfigurationAssemblerYaml.Default
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ConfigurationAssembler
Assembler to export a configuration into an external format.
-
Method Summary
Modifier and Type Method Description VarString
assemble(VarString vs, Configuration configuration)
Assembles all entries and child-configurations to an external format.default VarString
assemble(Configuration configuration)
Assembles all entries and child-configurations to an external format.
-
Method Details
-
assemble
Assembles all entries and child-configurations to an external format.- Parameters:
configuration
- the source- Returns:
- a String representation of the external format
-
assemble
Assembles all entries and child-configurations to an external format.- Parameters:
vs
- existing target VarStringconfiguration
- the source- Returns:
- a String representation of the external format
-