Interface IFileUploadConstraints
public interface IFileUploadConstraints
Common interface for upload constraints.
- Since:
- 8.4.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionReturns the accepted file types.intReturns the maximum number of files that can be uploaded.intReturns the minimum number of files that need to be uploaded.Returns the maximum size of the files that can be uploaded.
-
Method Details
-
getMaxFileCount
int getMaxFileCount()Returns the maximum number of files that can be uploaded.- Returns:
- The maximum number of files that can be uploaded.
-
getSizeLimit
Long getSizeLimit()Returns the maximum size of the files that can be uploaded. If the size limit is null, no size limit is enforced.- Returns:
- The maximum size of the files that can be uploaded.
-
getMinFileCount
int getMinFileCount()Returns the minimum number of files that need to be uploaded.- Returns:
- The minimum number of files that need to be uploaded.
-
getAcceptedFileExtensions
-