From a9f50d32e449437f1142e33b7fb5ac093ac2e74e Mon Sep 17 00:00:00 2001 From: Yi EungJun Date: Wed, 16 Sep 2015 15:00:01 +0900 Subject: [PATCH] Add InputStream to FileWritingMH JavaDoc InputStream has been supported since 247232bdde24b81814a82100743f77d881aaf06b. --- .../integration/file/FileWritingMessageHandler.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-integration-file/src/main/java/org/springframework/integration/file/FileWritingMessageHandler.java b/spring-integration-file/src/main/java/org/springframework/integration/file/FileWritingMessageHandler.java index f11f0deba6..51c3f8e959 100644 --- a/spring-integration-file/src/main/java/org/springframework/integration/file/FileWritingMessageHandler.java +++ b/spring-integration-file/src/main/java/org/springframework/integration/file/FileWritingMessageHandler.java @@ -51,9 +51,9 @@ import org.springframework.util.StringUtils; /** * A {@link MessageHandler} implementation that writes the Message payload to a * file. If the payload is a File object, it will copy the File to the specified - * destination directory. If the payload is a byte array or String, it will write - * it directly. Otherwise, the payload type is unsupported, and an Exception - * will be thrown. + * destination directory. If the payload is a byte array, a String or an + * InputStream it will be written directly. Otherwise, the payload type is + * unsupported, and an Exception will be thrown. *

* To append a new-line after each write, set the * {@link #setAppendNewLine(boolean) appendNewLine} flag to 'true'. It is 'false' by default.