Package com.vaadin.flow.component.upload
Class UploadFileListI18N.Error
java.lang.Object
com.vaadin.flow.component.upload.UploadFileListI18N.Error
- All Implemented Interfaces:
Serializable
- Enclosing class:
UploadFileListI18N
Validation error translations displayed in file items.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the file is too big error message.Gets the incorrect file type error message.Gets the too many files error message.setFileIsTooBig(String fileIsTooBig) Sets the file is too big error message.setIncorrectFileType(String incorrectFileType) Sets the incorrect file type error message.setTooManyFiles(String tooManyFiles) Sets the too many files error message.
-
Constructor Details
-
Error
public Error()
-
-
Method Details
-
getTooManyFiles
Gets the too many files error message.- Returns:
- translation string or null if none set
-
setTooManyFiles
Sets the too many files error message.- Parameters:
tooManyFiles- translation string- Returns:
- this instance for chaining
-
getFileIsTooBig
Gets the file is too big error message.- Returns:
- translation string or null if none set
-
setFileIsTooBig
Sets the file is too big error message.- Parameters:
fileIsTooBig- translation string- Returns:
- this instance for chaining
-
getIncorrectFileType
Gets the incorrect file type error message.- Returns:
- translation string or null if none set
-
setIncorrectFileType
Sets the incorrect file type error message.- Parameters:
incorrectFileType- translation string- Returns:
- this instance for chaining
-