Uses of Class
cloud.opencode.base.image.exception.ImageValidationException
Packages that use ImageValidationException
Package
Description
-
Uses of ImageValidationException in cloud.opencode.base.image.exception
Subclasses of ImageValidationException in cloud.opencode.base.image.exception -
Uses of ImageValidationException in cloud.opencode.base.image.security
Methods in cloud.opencode.base.image.security that throw ImageValidationExceptionModifier and TypeMethodDescriptionstatic voidSafePathUtil.validatePath(Path path) Validate path for image operations 验证图片操作的路径static voidSafePathUtil.validatePath(Path path, Path baseDir) Validate path within base directory 在基础目录内验证路径 -
Uses of ImageValidationException in cloud.opencode.base.image.validation
Methods in cloud.opencode.base.image.validation that throw ImageValidationExceptionModifier and TypeMethodDescriptionstatic voidImageValidator.validate(byte[] bytes) Validate image bytes 验证图片字节数组static voidImageValidator.validate(byte[] bytes, long maxFileSize, int maxWidth, int maxHeight) Validate image bytes with limits 验证图片字节数组(带限制)static voidValidate image file 验证图片文件static voidValidate image file with limits 验证图片文件(带限制)