Package | Description |
---|---|
org.springframework.data.gemfire.util |
Modifier and Type | Method and Description |
---|---|
PropertiesBuilder |
PropertiesBuilder.add(Properties properties)
Null-safe method to add all the
Properties to this builder. |
PropertiesBuilder |
PropertiesBuilder.add(PropertiesBuilder builder)
Null-safe method to add all the
Properties from the provided PropertiesBuilder to this builder. |
static PropertiesBuilder |
PropertiesBuilder.create()
Factory method to create a default
PropertiesBuilder instance. |
static PropertiesBuilder |
PropertiesBuilder.from(InputStream in)
Constructs and initializes a
PropertiesBuilder containing all properties
from the given InputStream . |
static PropertiesBuilder |
PropertiesBuilder.from(Properties properties)
Factory method to create an instance of
PropertiesBuilder initialized with the given Properties . |
static PropertiesBuilder |
PropertiesBuilder.from(Reader reader)
Constructs and initializes a
PropertiesBuilder containing all properties
from the given Reader . |
static PropertiesBuilder |
PropertiesBuilder.fromXml(InputStream xml)
Constructs and initializes a
PropertiesBuilder containing all properties
from the given InputStream in XML format. |
PropertiesBuilder |
PropertiesBuilder.setProperty(String name,
Object value)
Sets a property with given name to the specified value.
|
PropertiesBuilder |
PropertiesBuilder.setProperty(String name,
Object[] values)
Sets the named property to the given array of object values.
|
PropertiesBuilder |
PropertiesBuilder.setProperty(String name,
String value)
Sets a property with the given name to the specified
String value. |
<T> PropertiesBuilder |
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 |
PropertiesBuilder.unsetProperty(String name)
Un-sets the named property.
|
Modifier and Type | Method and Description |
---|---|
PropertiesBuilder |
PropertiesBuilder.add(PropertiesBuilder builder)
Null-safe method to add all the
Properties from the provided PropertiesBuilder to this builder. |
Constructor and Description |
---|
PropertiesBuilder(PropertiesBuilder builder)
Constructs an instance of the
PropertiesBuilder class initialized with the given
PropertiesBuilder providing the default Properties for this builder. |
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.