public final class PropsEntries
extends java.lang.Object
Props.entries()
.Constructor and Description |
---|
PropsEntries(Props props) |
Modifier and Type | Method and Description |
---|---|
PropsEntries |
activeProfiles()
Enables active profiles to iterate over.
|
void |
forEach(java.util.function.Consumer<PropsEntry> propsDataConsumer)
Consumer all properties.
|
java.util.Iterator<PropsEntry> |
iterator()
Returns populated iterator.
|
PropsEntries |
profile(java.lang.String... profiles)
Enables profiles to iterate.
|
PropsEntries |
profile(java.lang.String profile)
Enables profile to iterate.
|
PropsEntries |
section(java.lang.String... section)
Enables sections to iterate.
|
PropsEntries |
section(java.lang.String section)
Enables section to iterate.
|
PropsEntries |
skipDuplicatesByPosition()
Skips all keys after first definition, even if value is set later.
|
PropsEntries |
skipDuplicatesByValue()
Skips duplicate keys (defined in different profiles) which value is not
used for setting current key value.
|
public PropsEntries(Props props)
public PropsEntries profile(java.lang.String profile)
public PropsEntries profile(java.lang.String... profiles)
public PropsEntries activeProfiles()
public PropsEntries section(java.lang.String section)
public PropsEntries section(java.lang.String... section)
public PropsEntries skipDuplicatesByValue()
public PropsEntries skipDuplicatesByPosition()
public java.util.Iterator<PropsEntry> iterator()
public void forEach(java.util.function.Consumer<PropsEntry> propsDataConsumer)
Copyright © 2003-present Jodd Team