Package com.vaadin.flow.component.upload
Class UploadHelper
java.lang.Object
com.vaadin.flow.component.upload.UploadHelper
- All Implemented Interfaces:
Serializable
Utility methods for Upload and UploadManager components.
Intended only for internal use and can be removed or changed in the future.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanhasUploadHandler(Upload upload) Checks whether the givenUploadhas an explicitly configuredUploadHandler.static booleanhasUploadHandler(UploadManager uploadManager) Checks whether the givenUploadManagerhas an explicitly configuredUploadHandler.
-
Constructor Details
-
UploadHelper
public UploadHelper()
-
-
Method Details
-
hasUploadHandler
Checks whether the givenUploadManagerhas an explicitly configuredUploadHandler.- Parameters:
uploadManager- the upload manager to check, notnull- Returns:
trueif the upload manager has an explicitly configured upload handler,falseotherwise
-
hasUploadHandler
Checks whether the givenUploadhas an explicitly configuredUploadHandler.- Parameters:
upload- the upload component to check, notnull- Returns:
trueif the upload has an explicitly configured upload handler,falseotherwise
-