Package de.xima.fc.interfaces.file
Interface IFileUploadConstraints
-
public interface IFileUploadConstraintsCommon 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.intgetMaxFileCount()Returns the maximum number of files that can be uploaded.intgetMinFileCount()Returns the minimum number of files that need to be uploaded.LonggetSizeLimit()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.
-
-