Interface IFileGenerator
-
public interface IFileGeneratorFile Generator for TemporaryFiles
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.nio.file.PathgenerateFile()Generate the File.java.lang.StringgetDescription()java.lang.StringgetFileName()java.lang.StringgetMimeType()default booleanhasMultipleFiles()booleanisZippable()
-
-
-
Method Detail
-
generateFile
java.nio.file.Path generateFile() throws java.io.IOExceptionGenerate 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
-
-