|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.integration.file.DefaultFileNameGenerator
public class DefaultFileNameGenerator
Default implementation of the filename generator strategy. It first checks for the "filename" Message header. Next, it checks if the Message payload is a File instance, and if so, it uses the same name. Finally, it falls back to the Message ID and adds the suffix '.msg'.
Constructor Summary | |
---|---|
DefaultFileNameGenerator()
|
Method Summary | |
---|---|
java.lang.String |
generateFileName(Message<?> message)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultFileNameGenerator()
Method Detail |
---|
public java.lang.String generateFileName(Message<?> message)
generateFileName
in interface FileNameGenerator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |