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