Module libldt
Package libldt3

Enum LdtConstants.Mode

All Implemented Interfaces:
Serializable, Comparable<LdtConstants.Mode>, java.lang.constant.Constable
Enclosing class:
LdtConstants

public static enum LdtConstants.Mode extends Enum<LdtConstants.Mode>
Determines how the reader deals with invalid LDT
  • Enum Constant Details

    • STRICT

      public static final LdtConstants.Mode STRICT
      In case invalid LDT is detected, the reader will abort with an exception
    • RELAXED

      public static final LdtConstants.Mode RELAXED
      When the reader encounters invalid LDT, it will log as error and continue
  • Method Details

    • values

      public static LdtConstants.Mode[] 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 LdtConstants.Mode 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