Enum InvalidRtfHeaderAction

java.lang.Object
java.lang.Enum<InvalidRtfHeaderAction>
com.scroogexhtml.configuration.InvalidRtfHeaderAction
All Implemented Interfaces:
Serializable, Comparable<InvalidRtfHeaderAction>

public enum InvalidRtfHeaderAction extends Enum<InvalidRtfHeaderAction>
The InvalidRtfHeaderAction enum represents the possible actions that can be taken when an invalid RTF header is encountered.
  • Enum Constant Details

    • LOG_WARNING

      public static final InvalidRtfHeaderAction 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

      public static final InvalidRtfHeaderAction 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

      public static final InvalidRtfHeaderAction 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

      public static InvalidRtfHeaderAction[] 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

      public static InvalidRtfHeaderAction 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 name
      NullPointerException - if the argument is null