Uses of Class
org.springframework.data.gemfire.util.PropertiesBuilder
-
Uses of PropertiesBuilder in org.springframework.data.gemfire.util
Modifier and TypeMethodDescriptionPropertiesBuilder.add
(Properties properties) Null-safe method to add all theProperties
to this builder.PropertiesBuilder.add
(PropertiesBuilder builder) Null-safe method to add all theProperties
from the providedPropertiesBuilder
to this builder.static PropertiesBuilder
PropertiesBuilder.create()
Factory method used to create a defaultPropertiesBuilder
instance.static PropertiesBuilder
PropertiesBuilder.from
(InputStream in) Constructs a new instance ofPropertiesBuilder
initialized with all properties from the givenInputStream
.static PropertiesBuilder
Constructs a new isntance ofPropertiesBuilder
initialized with all properties from the givenReader
.static PropertiesBuilder
PropertiesBuilder.from
(Properties properties) Factory method used to create an instance ofPropertiesBuilder
initialized with the givenProperties
.static PropertiesBuilder
PropertiesBuilder.fromXml
(InputStream xml) Constructs a new instance ofPropertiesBuilder
initialized with all properties from the givenInputStream
in XML format.PropertiesBuilder.setProperty
(String name, Object value) Sets a property with given name to the specified value.PropertiesBuilder.setProperty
(String name, Object[] values) Sets the named property to the given array of object values.PropertiesBuilder.setProperty
(String name, String value) Sets a property with the given name to the specifiedString
value.PropertiesBuilder.setPropertyIfNotDefault
(String name, Object value, T defaultValue) Sets the named property to the given value if the defaultValue is not null and value is not equal to defaultValue.PropertiesBuilder.unsetProperty
(String name) Un-sets the named property.Modifier and TypeMethodDescriptionPropertiesBuilder.add
(PropertiesBuilder builder) Null-safe method to add all theProperties
from the providedPropertiesBuilder
to this builder.ModifierConstructorDescriptionPropertiesBuilder
(PropertiesBuilder builder) Constructs a new instance ofPropertiesBuilder
initialized with the givenPropertiesBuilder
providing the defaultProperties
for this builder.