Package de.xima.fc.form.common.upload
Class CompressedUpload
- java.lang.Object
-
- de.xima.fc.form.common.upload.CompressedUpload
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContentType()
String
getFileName()
String
getFileNamePattern()
InputStream
getInputStream()
-
-
-
Method Detail
-
getContentType
public String getContentType()
- Specified by:
getContentType
in interfaceIXUpload
- Returns:
- Content type of the replacement file.
-
getFileName
public String getFileName()
- Specified by:
getFileName
in interfaceIXUpload
- Returns:
- The name of the replacement file
-
getFileNamePattern
public String getFileNamePattern()
- Specified by:
getFileNamePattern
in interfaceIXUpload
- Returns:
- When not blank, this pattern will be used for the file name. Placeholders within the file name are replaced.
-
getInputStream
public InputStream getInputStream() throws IOException
- Specified by:
getInputStream
in interfaceIXUpload
- Returns:
- The data of the replacement file. When
null
, the original file data is used. - Throws:
IOException
- When the data of the replacement cannot be read.
-
-