Enum Class PreProcessingRuleTypeEnum

java.lang.Object
java.lang.Enum<PreProcessingRuleTypeEnum>
io.github.guoshiqiufeng.dify.dataset.enums.document.PreProcessingRuleTypeEnum
All Implemented Interfaces:
Serializable, Comparable<PreProcessingRuleTypeEnum>, Constable

public enum PreProcessingRuleTypeEnum extends Enum<PreProcessingRuleTypeEnum>
Since:
2025/3/13 15:20
Version:
1.0
Author:
yanghq
  • Enum Constant Details

    • remove_extra_spaces

      public static final PreProcessingRuleTypeEnum remove_extra_spaces
      替换连续空格、换行符、制表符
    • remove_urls_emails

      public static final PreProcessingRuleTypeEnum remove_urls_emails
      删除 URL、电子邮件地址
  • Method Details

    • values

      public static PreProcessingRuleTypeEnum[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PreProcessingRuleTypeEnum valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null