|
|||||||||
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<java.lang.String>
org.springframework.integration.adapter.file.TextFileMapper
public class TextFileMapper
A MessageMapper
implementation for messages with a String payload.
Field Summary |
---|
Fields inherited from class org.springframework.integration.adapter.file.AbstractFileMapper |
---|
logger |
Constructor Summary | |
---|---|
TextFileMapper(java.io.File parentDirectory)
|
Method Summary | |
---|---|
protected java.lang.String |
readMessagePayload(java.io.File file)
|
protected void |
writeToFile(java.io.File file,
java.lang.String 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 TextFileMapper(java.io.File parentDirectory)
Method Detail |
---|
protected java.lang.String readMessagePayload(java.io.File file) throws java.lang.Exception
readMessagePayload
in class AbstractFileMapper<java.lang.String>
java.lang.Exception
protected void writeToFile(java.io.File file, java.lang.String payload) throws java.lang.Exception
writeToFile
in class AbstractFileMapper<java.lang.String>
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |