Interface FileConstraint
-
@ConsumerType public interface FileConstraint
Interface for constraints applicable to file attachments- Since:
- com.adobe.cq.forms.core.components.models.form 0.0.1
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.lang.String[]
getAccept()
Returns the list of standard IANA media types which field can accept.default java.lang.String
getMaxFileSize()
Returns the Maximum file size (in IEC specification) that a field can accept.
-
-
-
Method Detail
-
getMaxFileSize
default java.lang.String getMaxFileSize()
Returns the Maximum file size (in IEC specification) that a field can accept. The constraint is applicable for file attachment field- Returns:
- the maximum file size
- Since:
- com.adobe.cq.forms.core.components.models.form 0.0.1
-
getAccept
default java.lang.String[] getAccept()
Returns the list of standard IANA media types which field can accept. The constraint is applicable for file attachment field- Returns:
- the list of standard IANA media types
- Since:
- com.adobe.cq.forms.core.components.models.form 0.0.1
-
-