Class DataValidationJsonError
public class DataValidationJsonError
extends JsonError
代表JSON中的DataValidation错误。
-
Constructor Summary
Constructors
用指定的错误消息、工作表名称、范围和错误内容构造一个新的DataValidationJsonError对象。
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DataValidationJsonError
用指定的错误消息、工作表名称、范围和错误内容构造一个新的DataValidationJsonError对象。
- Parameters:
errorMessage
- 与数据验证错误相关联的错误消息。
worksheetName
- 发生数据验证错误的工作表的名称。
range
- 受数据验证错误影响的单元格范围。
errorContent
- 数据验证错误的内容。
-
Method Details
-
getWorksheetName
public String getWorksheetName()
获取工作表名称。
-
-
getErrorContent
public String getErrorContent()
获取错误的内容。