Class FileTemporaryStorageBuffer

java.lang.Object
io.jmix.flowui.component.upload.receiver.FileTemporaryStorageBuffer
All Implemented Interfaces:
com.vaadin.flow.component.upload.Receiver, Serializable

@Component("flowui_FileTemporaryStorageBuffer") @Scope("prototype") public class FileTemporaryStorageBuffer extends Object implements com.vaadin.flow.component.upload.Receiver
See Also:
  • Field Details

  • Constructor Details

    • FileTemporaryStorageBuffer

      public FileTemporaryStorageBuffer(TemporaryStorage temporaryStorage)
  • Method Details

    • receiveUpload

      @Nullable public OutputStream receiveUpload(String fileName, String mimeType)
      Specified by:
      receiveUpload in interface com.vaadin.flow.component.upload.Receiver
    • getFileData

      @Nullable public TemporaryStorageFileData getFileData()
    • createFileOutputStream

      @Nullable protected OutputStream createFileOutputStream(File file)