Class UploadFileListI18N.Error

java.lang.Object
com.vaadin.flow.component.upload.UploadFileListI18N.Error
All Implemented Interfaces:
Serializable
Enclosing class:
UploadFileListI18N

public static class UploadFileListI18N.Error extends Object implements Serializable
Validation error translations displayed in file items.
See Also:
  • Constructor Details

    • Error

      public Error()
  • Method Details

    • getTooManyFiles

      public String getTooManyFiles()
      Gets the too many files error message.
      Returns:
      translation string or null if none set
    • setTooManyFiles

      public UploadFileListI18N.Error setTooManyFiles(String tooManyFiles)
      Sets the too many files error message.
      Parameters:
      tooManyFiles - translation string
      Returns:
      this instance for chaining
    • getFileIsTooBig

      public String getFileIsTooBig()
      Gets the file is too big error message.
      Returns:
      translation string or null if none set
    • setFileIsTooBig

      public UploadFileListI18N.Error setFileIsTooBig(String fileIsTooBig)
      Sets the file is too big error message.
      Parameters:
      fileIsTooBig - translation string
      Returns:
      this instance for chaining
    • getIncorrectFileType

      public String getIncorrectFileType()
      Gets the incorrect file type error message.
      Returns:
      translation string or null if none set
    • setIncorrectFileType

      public UploadFileListI18N.Error setIncorrectFileType(String incorrectFileType)
      Sets the incorrect file type error message.
      Parameters:
      incorrectFileType - translation string
      Returns:
      this instance for chaining