com.vaadin.flow.component.upload.receivers.
Class AbstractFileBuffer
All Implemented Interfaces:
Direct Known Subclasses:
Abstract class for common file receiver buffers.
See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.
Constructor for creating a file buffer with the default temporary file factory.
AbstractFileBuffer
(FileFactory factory) Deprecated, for removal: This API element is subject to removal in a future version.
Constructor taking in the file factory used to create upload
File
. -
Method Summary
Modifier and TypeMethodDescriptionprotected FileOutputStream
createFileOutputStream
(String fileName) Deprecated, for removal: This API element is subject to removal in a future version.
Create a file output stream for the file.
protected Logger
Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
AbstractFileBuffer
public AbstractFileBuffer()Deprecated, for removal: This API element is subject to removal in a future version.Constructor for creating a file buffer with the default temporary file factory.
-
AbstractFileBuffer
Deprecated, for removal: This API element is subject to removal in a future version.Constructor taking in the file factory used to create upload
File
.Parameters:
factory
- file factory for file buffer
-
-
Method Details
-
createFileOutputStream
Deprecated, for removal: This API element is subject to removal in a future version.Create a file output stream for the file.
Parameters:
fileName
- the name of the fileReturns:
the file output stream
-
getLogger
Deprecated, for removal: This API element is subject to removal in a future version.
-
UploadHandler
instead