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
- Since:
- 2025/3/13 15:20
- Version:
- 1.0
- Author:
- yanghq
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic PreProcessingRuleTypeEnumReturns the enum constant of this class with the specified name.static PreProcessingRuleTypeEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
remove_extra_spaces
替换连续空格、换行符、制表符 -
remove_urls_emails
删除 URL、电子邮件地址
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-