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

Interface FileFactory

  • All Superinterfaces:

    Serializable


    public interface FileFactory
    extends Serializable

    File factory interface for generating file to store the uploaded data into.

    • Method Summary

      All Methods
      Modifier and Type Method and Description
      File createFile(String fileName)

      Create a new file for given file name.

    • Method Detail

      • createFile

        File createFile(String fileName)
                 throws IOException

        Create a new file for given file name.

        Parameters:

        fileName - file name to create file for

        Returns:

        File that should be used

        Throws:

        IOException