We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.server.streams.
Package com.vaadin.flow.server.streams
Interface FileFactory
All Superinterfaces:
All Known Implementing Classes:
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
File factory interface for generating file to store the uploaded data into.
Since:
24.8
-
Method Summary
Modifier and TypeMethodDescriptioncreateFile
(UploadMetadata uploadMetadata) Create a new file for given file name.
-
Method Details
-
createFile
Create a new file for given file name.
Parameters:
uploadMetadata
- metadata for upload that should get a file createdReturns:
File
that should be usedThrows:
-