com.vaadin.flow.component.upload.
Class UploadI18N.Error
All Implemented Interfaces:
Enclosing class:
Exception translations.
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet translation for file too big.
Get translation for incorrect file type.
Too many files translation.
setFileIsTooBig
(String fileIsTooBig) Set file too big translation.
setIncorrectFileType
(String incorrectFileType) Set incorrect file type translation.
setTooManyFiles
(String tooManyFiles) Set too many files error translation.
-
Constructor Details
-
Error
public Error()
-
-
Method Details
-
getTooManyFiles
Too many files translation.
Returns:
translation string or null if none set
-
setTooManyFiles
Set too many files error translation.
Parameters:
tooManyFiles
- translation stringReturns:
error translation class
-
getFileIsTooBig
Get translation for file too big.
Returns:
translation string or null if none set
-
setFileIsTooBig
Set file too big translation.
Parameters:
fileIsTooBig
- translation stringReturns:
error translation class
-
getIncorrectFileType
Get translation for incorrect file type.
Returns:
translation string or null if none set
-
setIncorrectFileType
Set incorrect file type translation.
Parameters:
incorrectFileType
- translation stringReturns:
error translation class
-