public class FileToByteArrayTransformer extends AbstractFilePayloadTransformer<byte[]>
Constructor and Description |
---|
FileToByteArrayTransformer() |
Modifier and Type | Method and Description |
---|---|
protected byte[] |
transformFile(File file)
Subclasses must implement this method to transform the File contents.
|
getMessageBuilderFactory, setBeanFactory, setDeleteFiles, transform
protected final byte[] transformFile(File file) throws IOException
AbstractFilePayloadTransformer
transformFile
in class AbstractFilePayloadTransformer<byte[]>
file
- The file.IOException
- Any IOException.