Interface IFileGenerator


public interface IFileGenerator
File Generator for TemporaryFiles
  • Method Details

    • generateFile

      Path generateFile() throws IOException
      Generate the File.
      Returns:
      Throws:
      IOException
    • getFileName

      String getFileName()
      Returns:
      the File name.
    • getMimeType

      String getMimeType()
      Returns:
      the file Type.
    • getDescription

      String getDescription()
      Returns:
      the file description.
    • isZippable

      boolean isZippable()
      Returns:
      true if the file must be compressed before storage.
    • hasMultipleFiles

      default boolean hasMultipleFiles()
      Returns:
      true if the generator creates multiple files