Interface IFileUploadConstraints


public interface IFileUploadConstraints
Common interface for upload constraints.
Since:
8.4.0
Author:
XIMA MEDIA GmbH
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the accepted file types.
    int
    Returns the maximum number of files that can be uploaded.
    int
    Returns 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

      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.