public enum PropertyType extends Enum<PropertyType>
AbstractProperty| Enum Constant and Description |
|---|
COMMENT
Comment in property file.
|
EMPTY
Empty line in properties file.
|
MULTILINE
Property value (key=value) with multi line value escaped by '\'.
|
UNKNOWN
Everything else.
|
VALUE
Property value (key=value)
|
| Modifier and Type | Method and Description |
|---|---|
static PropertyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyType VALUE
public static final PropertyType MULTILINE
AbstractProperty.getValue() method is overridden to return value as single string separated by '\' + line separator.public static final PropertyType EMPTY
public static final PropertyType COMMENT
public static final PropertyType UNKNOWN
public static PropertyType[] values()
for (PropertyType c : PropertyType.values()) System.out.println(c);
public static PropertyType 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 © 2025 FG Forrest, a.s.. All rights reserved.