Class 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 Detail

      • ExifDataProcessor

        public ExifDataProcessor​(Consumer<String> protocolEntryHandler)
        Parameters:
        protocolEntryHandler - handles protocol entries (usually i18n keys) while processing the provided upload
    • Method Detail

      • isProcessable

        public boolean isProcessable​(IXUpload upload)
        Specified by:
        isProcessable in interface IUploadPostProcessor
        Parameters:
        upload - the source upload
        Returns:
        true if the provided upload can be processed by this processor, false if not.