|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectnu.studer.java.util.OrderedProperties.OrderedPropertiesBuilder
public static final class OrderedProperties.OrderedPropertiesBuilder
Builder for OrderedProperties instances.
| Constructor Summary | |
|---|---|
OrderedProperties.OrderedPropertiesBuilder()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OrderedProperties.OrderedPropertiesBuilder()
| Method Detail |
|---|
public OrderedProperties.OrderedPropertiesBuilder withOrdering(java.util.Comparator<? super java.lang.String> comparator)
comparator - the ordering to apply on the keys
public OrderedProperties.OrderedPropertiesBuilder withSuppressDateInComment(boolean suppressDate)
suppressDate - whether to suppress the comment that contains the current date
public OrderedProperties build()
OrderedProperties instance.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||