Class INIBuilderParametersImpl

    • Field Detail

      • PROP_SEPARATOR_USED_IN_INI_OUTPUT

        private static final java.lang.String PROP_SEPARATOR_USED_IN_INI_OUTPUT
        The key for the separatorUsedInINIOutput property.
        See Also:
        Constant Field Values
      • PROP_SEPARATOR_USED_IN_INI_INPUT

        private static final java.lang.String PROP_SEPARATOR_USED_IN_INI_INPUT
        The key for the separatorUsedInInput property.
        See Also:
        Constant Field Values
      • PROP_COMMENT_LEADING_SEPARATOR_USED_IN_INI_INPUT

        private static final java.lang.String PROP_COMMENT_LEADING_SEPARATOR_USED_IN_INI_INPUT
        The key for the commentLeadingCharsUsedInInput property.
        See Also:
        Constant Field Values
    • Constructor Detail

      • INIBuilderParametersImpl

        public INIBuilderParametersImpl()
    • Method Detail

      • inheritFrom

        public void inheritFrom​(java.util.Map<java.lang.String,​?> source)
        Description copied from class: HierarchicalBuilderParametersImpl
        Inherits properties from the specified map. This can be used for instance to reuse parameters from one builder in another builder - also in parent-child relations in which a parent builder creates child builders. The purpose of this method is to let a concrete implementation decide which properties can be inherited. Because parameters are basically organized as a map it would be possible to simply copy over all properties from the source object. However, this is not appropriate in all cases. For instance, some properties - like a ConfigurationInterpolator - are tightly connected to a configuration and cannot be reused in a different context. For other properties, e.g. a file name, it does not make sense to copy it. Therefore, an implementation has to be explicit in the properties it wants to take over. This implementation takes some properties defined in this class into account. This implementation copies some more properties defined by this class.
        Overrides:
        inheritFrom in class HierarchicalBuilderParametersImpl
        Parameters:
        source - the source properties to inherit from