Class FileToByteArrayTransformer

java.lang.Object
org.springframework.integration.file.transformer.AbstractFilePayloadTransformer<byte[]>
org.springframework.integration.file.transformer.FileToByteArrayTransformer
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.integration.transformer.GenericTransformer<org.springframework.messaging.Message<?>,​org.springframework.messaging.Message<?>>, org.springframework.integration.transformer.Transformer

public class FileToByteArrayTransformer
extends AbstractFilePayloadTransformer<byte[]>
A payload transformer that copies a File's contents to a byte array.