Class BinaryPassThroughContentTransformer

  • All Implemented Interfaces:
    ContentWorker, ContentTransformer, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware

    public class BinaryPassThroughContentTransformer
    extends AbstractContentTransformer2
    Allows direct streaming from source to target when the respective mimetypes are identical, except where the mimetype is text.

    Text has to be transformed based on the encoding even if the mimetypes don't reflect it.

    Author:
    Derek Hulley
    See Also:
    StringExtractingContentTransformer