Package com.scroogexhtml.configuration
Enum InvalidRtfHeaderAction
- All Implemented Interfaces:
Serializable
,Comparable<InvalidRtfHeaderAction>
The InvalidRtfHeaderAction enum represents the possible actions that can be taken
when an invalid RTF header is encountered.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresents the action to be taken when an invalid RTF header is encountered.Represents the action to be taken when an invalid RTF header is encountered.Represents the action to be taken when an invalid RTF header is encountered. -
Method Summary
Modifier and TypeMethodDescriptionstatic InvalidRtfHeaderAction
Returns the enum constant of this type with the specified name.static InvalidRtfHeaderAction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LOG_WARNING
Represents the action to be taken when an invalid RTF header is encountered.The LOG_WARNING action will log a warning message when an invalid RTF header is encountered.
-
LOG_ERROR
Represents the action to be taken when an invalid RTF header is encountered.The LOG_ERROR action will log an error message when an invalid RTF header is encountered.
-
THROW_EXCEPTION
Represents the action to be taken when an invalid RTF header is encountered.This action will throw an exception when an invalid RTF header is encountered.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-