Package sk.iway.iwcm.form
Class FormFileRestriction
java.lang.Object
sk.iway.iwcm.form.FormFileRestriction
FormFileRestriction.java
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
boolean
isSentFileValid
(IwcmFile file) boolean
isSentFileValid
(sk.iway.upload.UploadedFile file) setAllowedExtensions
(String allowedExtensions) setFormName
(String formName) setMaxSizeInKilobytes
(int maxSizeInKilobytes) setPictureHeight
(int pictureHeight) setPictureWidth
(int pictureWidth)
-
Constructor Details
-
FormFileRestriction
public FormFileRestriction()
-
-
Method Details
-
isSentFileValid
public boolean isSentFileValid(sk.iway.upload.UploadedFile file) -
isSentFileValid
-
getFormName
-
setFormName
-
getAllowedExtensions
-
setAllowedExtensions
-
getMaxSizeInKilobytes
public int getMaxSizeInKilobytes() -
setMaxSizeInKilobytes
-
getPictureWidth
public int getPictureWidth() -
setPictureWidth
-
getPictureHeight
public int getPictureHeight() -
setPictureHeight
-