T- the type of the result of all set methods for method chaining
public interface PropertiesBuilderProperties<T>
Definition of a parameters interface for properties configurations.
This interface defines additional properties which can be set when
Important note: This interface is not intended to be implemented by client code! It defines a set of available properties and may be extended even in minor releases.
|Modifier and Type||Method and Description|
Sets the current include listener, may be null.
Sets a flag whether include files are supported by the properties configuration object.
Sets the layout object for the properties configuration object.
default T setIncludeListener(ConfigurationConsumer<ConfigurationException> includeListener)
includeListener- the current include listener, may be null.
T setIncludesAllowed(boolean f)
f- the value of the flag
T setLayout(PropertiesConfigurationLayout layout)
PropertiesConfigurationLayoutobject to be used by the configuration
IOFactoryto be used by the properties configuration object. With this method a custom factory for input and output streams can be set. This allows customizing the format of properties read or written by the configuration. If no
IOFactoryis provided, the configuration uses a default one.
IOFactoryto be used by the configuration
Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.