public static final class OrderedProperties.OrderedPropertiesBuilder extends Object
OrderedProperties instances.| 构造器和说明 |
|---|
OrderedPropertiesBuilder() |
| 限定符和类型 | 方法和说明 |
|---|---|
OrderedProperties |
build()
Builds a new
OrderedProperties instance. |
OrderedProperties.OrderedPropertiesBuilder |
withOrdering(Comparator<? super 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(Comparator<? super 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.Copyright © 2016. All rights reserved.