Interface IFileGenerator
public interface IFileGenerator
File Generator for TemporaryFiles
-
Method Summary
Modifier and TypeMethodDescriptionGenerate the File.default booleanboolean
-
Method Details
-
generateFile
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
-