Interface IFileGenerator


  • public interface IFileGenerator
    File Generator for TemporaryFiles
    • Method Detail

      • generateFile

        java.nio.file.Path generateFile()
                                 throws java.io.IOException
        Generate the File.
        Returns:
        Throws:
        java.io.IOException
      • getFileName

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

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

        java.lang.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