You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.component.upload.

Class UploadI18N.Error

    • Constructor Detail

      • Error

        public Error()
    • Method Detail

      • getTooManyFiles

        public String getTooManyFiles()

        Too many files translation.

        Returns:

        translation string or null if none set

      • setTooManyFiles

        public UploadI18N.Error setTooManyFiles​(String tooManyFiles)

        Set too many files error translation.

        Parameters:

        tooManyFiles - translation string

        Returns:

        error translation class

      • getFileIsTooBig

        public String getFileIsTooBig()

        Get translation for file too big.

        Returns:

        translation string or null if none set

      • setFileIsTooBig

        public UploadI18N.Error setFileIsTooBig​(String fileIsTooBig)

        Set file too big translation.

        Parameters:

        fileIsTooBig - translation string

        Returns:

        error translation class

      • getIncorrectFileType

        public String getIncorrectFileType()

        Get translation for incorrect file type.

        Returns:

        translation string or null if none set

      • setIncorrectFileType

        public UploadI18N.Error setIncorrectFileType​(String incorrectFileType)

        Set incorrect file type translation.

        Parameters:

        incorrectFileType - translation string

        Returns:

        error translation class