public static final class OrderedProperties.OrderedPropertiesBuilder
extends java.lang.Object
OrderedProperties instances.| Constructor and Description |
|---|
OrderedPropertiesBuilder() |
| Modifier and Type | Method and Description |
|---|---|
OrderedProperties |
build()
Builds a new
OrderedProperties instance. |
OrderedProperties.OrderedPropertiesBuilder |
withOrdering(java.util.Comparator<? super java.lang.String> comparator)
Use a custom ordering of the keys.
|
OrderedProperties.OrderedPropertiesBuilder |
withSuppressDateInComment(boolean suppressDate)
Suppress the comment that contains the current date when storing the properties.
|
public OrderedProperties.OrderedPropertiesBuilder withOrdering(java.util.Comparator<? super java.lang.String> comparator)
comparator - the ordering to apply on the keyspublic OrderedProperties.OrderedPropertiesBuilder withSuppressDateInComment(boolean suppressDate)
suppressDate - whether to suppress the comment that contains the current datepublic OrderedProperties build()
OrderedProperties instance.