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, transformprotected final byte[] transformFile(File file) throws IOException
AbstractFilePayloadTransformertransformFile in class AbstractFilePayloadTransformer<byte[]>file - The file.IOException - Any IOException.