Interface IFileUploadConstraints


  • public interface IFileUploadConstraints
    Common interface for upload constraints.
    Since:
    8.4.0
    Author:
    XIMA MEDIA GmbH
    • 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.
      • getAcceptedFileExtensions

        Set<String> getAcceptedFileExtensions()
        Returns the accepted file types. If the set is null or empty, all file types are accepted.
        Returns:
        The accepted file types.