Interface FileFactory

All Superinterfaces:
Serializable
All Known Implementing Classes:
TemporaryFileFactory

@Deprecated(since="24.8", forRemoval=true) public interface FileFactory extends Serializable
Deprecated, for removal: This API element is subject to removal in a future version.
Use FileFactory instead
File factory interface for generating file to store the uploaded data into.
  • Method Summary

    Modifier and Type
    Method
    Description
    createFile(String fileName)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Create a new file for given file name.
  • Method Details

    • createFile

      File createFile(String fileName) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Create a new file for given file name.
      Parameters:
      fileName - file name to create file for
      Returns:
      File that should be used
      Throws:
      IOException