Enum ETextContentViewEmptyMode
- java.lang.Object
-
- java.lang.Enum<ETextContentViewEmptyMode>
-
- de.xima.fc.gui.helper.user_portal.ETextContentViewEmptyMode
-
- All Implemented Interfaces:
Serializable
,Comparable<ETextContentViewEmptyMode>
public enum ETextContentViewEmptyMode extends Enum<ETextContentViewEmptyMode>
How to treat files with empty or blank content when such a file is set. Either treat such files an a file with empty or blank content, or remove the file instead.- Since:
- 8.2.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TREAT_BLANK_STRING_AS_EMPTY_FILE
Treat null, empty, and blank strings as if a file with an empty or blank content had been set.TREAT_BLANK_STRING_AS_NO_FILE
Treat null, empty, and blank strings as if no file had been set.TREAT_EMPTY_STRING_AS_EMPTY_FILE
Treat null and empty strings as if a file with empty content had been set.TREAT_EMPTY_STRING_AS_NO_FILE
Treat null and empty strings as if no file had been set.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract String
resolve(String text)
static ETextContentViewEmptyMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static ETextContentViewEmptyMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TREAT_EMPTY_STRING_AS_EMPTY_FILE
public static final ETextContentViewEmptyMode TREAT_EMPTY_STRING_AS_EMPTY_FILE
Treat null and empty strings as if a file with empty content had been set.
-
TREAT_EMPTY_STRING_AS_NO_FILE
public static final ETextContentViewEmptyMode TREAT_EMPTY_STRING_AS_NO_FILE
Treat null and empty strings as if no file had been set.
-
TREAT_BLANK_STRING_AS_EMPTY_FILE
public static final ETextContentViewEmptyMode TREAT_BLANK_STRING_AS_EMPTY_FILE
Treat null, empty, and blank strings as if a file with an empty or blank content had been set.
-
TREAT_BLANK_STRING_AS_NO_FILE
public static final ETextContentViewEmptyMode TREAT_BLANK_STRING_AS_NO_FILE
Treat null, empty, and blank strings as if no file had been set.
-
-
Method Detail
-
values
public static ETextContentViewEmptyMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ETextContentViewEmptyMode c : ETextContentViewEmptyMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ETextContentViewEmptyMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-