Package de.xima.fc.transform.image.exif
Class ExifDataProcessor
- java.lang.Object
-
- de.xima.fc.transform.image.exif.ExifDataProcessor
-
- All Implemented Interfaces:
IUploadPostProcessor
public class ExifDataProcessor extends Object implements IUploadPostProcessor
Upload postprocessor implementation that adjusts the orientation and clears the metadata of supported images.
-
-
Constructor Summary
Constructors Constructor Description ExifDataProcessor(Consumer<String> protocolEntryHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isProcessable(IXUpload upload)
IXUpload
process(IXUpload upload)
-
-
-
Method Detail
-
isProcessable
public boolean isProcessable(IXUpload upload)
- Specified by:
isProcessable
in interfaceIUploadPostProcessor
- Parameters:
upload
- the source upload- Returns:
- true if the provided upload can be processed by this processor, false if not.
-
process
public IXUpload process(IXUpload upload)
- Specified by:
process
in interfaceIUploadPostProcessor
- Parameters:
upload
- the upload to be procesed- Returns:
- the resulting data
-
-