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 StringgetContentType()StringgetFileName()StringgetFileNamePattern()InputStreamgetInputStream()
-
-
-
Method Detail
-
getContentType
public String getContentType()
- Specified by:
getContentTypein interfaceIXUpload- Returns:
- Content type of the replacement file.
-
getFileName
public String getFileName()
- Specified by:
getFileNamein interfaceIXUpload- Returns:
- The name of the replacement file
-
getFileNamePattern
public String getFileNamePattern()
- Specified by:
getFileNamePatternin 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:
getInputStreamin 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.
-
-