|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.integration.message.AbstractMessageMapper<T,java.io.File>
org.springframework.integration.adapter.file.AbstractFileMapper<byte[]>
org.springframework.integration.adapter.file.ByteArrayFileMapper
public class ByteArrayFileMapper
A MessageMapper
implementation for messages with a byte array payload.
| Field Summary |
|---|
| Fields inherited from class org.springframework.integration.adapter.file.AbstractFileMapper |
|---|
logger |
| Constructor Summary | |
|---|---|
ByteArrayFileMapper(java.io.File parentDirectory)
|
|
| Method Summary | |
|---|---|
protected byte[] |
readMessagePayload(java.io.File file)
|
protected void |
writeToFile(java.io.File file,
byte[] payload)
|
| Methods inherited from class org.springframework.integration.adapter.file.AbstractFileMapper |
|---|
fromMessage, setBackupDirectory, setFileNameGenerator, toMessage |
| Methods inherited from class org.springframework.integration.message.AbstractMessageMapper |
|---|
getUidGenerator, setUidGenerator |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ByteArrayFileMapper(java.io.File parentDirectory)
| Method Detail |
|---|
protected byte[] readMessagePayload(java.io.File file)
throws java.lang.Exception
readMessagePayload in class AbstractFileMapper<byte[]>java.lang.Exception
protected void writeToFile(java.io.File file,
byte[] payload)
throws java.lang.Exception
writeToFile in class AbstractFileMapper<byte[]>java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||