com.vaadin.flow.component.upload.receivers.

Class TemporaryFileFactory

java.lang.Object
com.vaadin.flow.component.upload.receivers.TemporaryFileFactory

All Implemented Interfaces:

FileFactory, Serializable

@Deprecated(since="24.8", forRemoval=true) public class TemporaryFileFactory extends Object implements FileFactory
Deprecated, for removal: This API element is subject to removal in a future version.

See Also:

  • Constructor Details

    • TemporaryFileFactory

      public TemporaryFileFactory()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • createFile

      public File createFile(String fileName) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.

      Create a new temporary file

      Specified by:

      createFile in interface FileFactory

      Parameters:

      fileName - file name to create file for

      Returns:

      File that should be used

      Throws:

      IOException