public enum ReloadMode extends Enum<ReloadMode>
ResourceProperties.reload(ReloadMode)
method.| Enum Constant and Description |
|---|
KEEP_ORPHANS
When reloading properties from a resource, then any properties not
existing in the resource (e.g. in a
File) are kept in the
according ResourceProperties. |
ORPHAN_REMOVAL
When reloading properties from a resource, then any properties not
existing in the resource (e.g. in a
File) are removed from the
according ResourceProperties. |
| Modifier and Type | Method and Description |
|---|---|
static ReloadMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReloadMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReloadMode ORPHAN_REMOVAL
File) are removed from the
according ResourceProperties.public static final ReloadMode KEEP_ORPHANS
File) are kept in the
according ResourceProperties.public static ReloadMode[] values()
for (ReloadMode c : ReloadMode.values()) System.out.println(c);
public static ReloadMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018. All rights reserved.