Package de.xima.fc.interfaces.file
Interface IFileUploadConstraints
-
public interface IFileUploadConstraints
Common interface for upload constraints.- Since:
- 8.4.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<String>
getAcceptedFileExtensions()
Returns the accepted file types.int
getMaxFileCount()
Returns the maximum number of files that can be uploaded.int
getMinFileCount()
Returns the minimum number of files that need to be uploaded.Long
getSizeLimit()
Returns the maximum size of the files that can be uploaded.
-
-
-
Method Detail
-
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.
-
-