Package org.appng.forms
Interface FormUploadValidator
-
public interface FormUploadValidator
Interface to support further validation of the uploaded file, for example check the dimensions of an image or the structure of a text file.- Author:
- Matthias Müller
- See Also:
FormUpload.isValid(FormUploadValidator)
,FormUpload.isValid(Class)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isValid(FormUpload formUpload)
Validates the givenFormUpload
.
-
-
-
Method Detail
-
isValid
boolean isValid(FormUpload formUpload)
Validates the givenFormUpload
.- Parameters:
formUpload
- theFormUpload
to validate- Returns:
true
if the givenFormUpload
is valid,false
otherwise.
-
-