Package de.xima.fc.form.common.upload
Class XUploadContentTransformer
- java.lang.Object
-
- de.xima.fc.form.common.upload.XUploadContentTransformer
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IXUpload
transformXUpload(IXUpload upload, IXItemPropertiesData item, Path tempDir)
Transforms the content of the given upload, using the configuring of the given upload item.
-
-
-
Method Detail
-
transformXUpload
public static IXUpload transformXUpload(IXUpload upload, IXItemPropertiesData item, Path tempDir)
Transforms the content of the given upload, using the configuring of the given upload item. For example, the form designer offers users an option where they can specify that images should be compressed on the server before being stored.- Parameters:
upload
- The content to transform.item
- The upload item that contains the configuration for the transformation. ItsIXItemPropertiesData.getClassName()
should be "XUpload".- Returns:
- The transformed content.
-
-