Class FileToByteArrayTransformer

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

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