|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.integration.file.transformer.AbstractFilePayloadTransformer<byte[]>
org.springframework.integration.file.transformer.FileToByteArrayTransformer
public class FileToByteArrayTransformer
A payload transformer that copies a File's contents to a byte array.
| Constructor Summary | |
|---|---|
FileToByteArrayTransformer()
|
|
| Method Summary | |
|---|---|
protected byte[] |
transformFile(java.io.File file)
Subclasses must implement this method to transform the File contents. |
| Methods inherited from class org.springframework.integration.file.transformer.AbstractFilePayloadTransformer |
|---|
setDeleteFiles, transform |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileToByteArrayTransformer()
| Method Detail |
|---|
protected final byte[] transformFile(java.io.File file)
throws java.lang.Exception
AbstractFilePayloadTransformer
transformFile in class AbstractFilePayloadTransformer<byte[]>java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||