Package de.xima.fc.form.common.upload
Class InterpolatedFileNameUpload
java.lang.Object
de.xima.fc.form.common.upload.InterpolatedFileNameUpload
- All Implemented Interfaces:
IXUpload
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
InterpolatedFileNameUpload
-
-
Method Details
-
getContentType
- Specified by:
getContentType
in interfaceIXUpload
- Returns:
- Content type of the replacement file.
-
getFileName
- Specified by:
getFileName
in interfaceIXUpload
- Returns:
- The name of the replacement file
-
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
- 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.
-