Package cn.twelvet.excel.kit
Class Validators
java.lang.Object
cn.twelvet.excel.kit.Validators
校验工具
- Author:
- twelvet
-
Method Summary
-
Method Details
-
validate
Validates all constraints onobject.- Type Parameters:
T- the type of the object to validate- Parameters:
object- object to validate- Returns:
- constraint violations or an empty set if none
- Throws:
IllegalArgumentException- if object isnullor ifnullis passed to the varargs groups validation process
-