Class FileUtils
java.lang.Object
org.springframework.cloud.fn.common.file.FileUtils
- Author:
- Gary Russell, Artem Bilan, Christian Tzolov
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.integration.dsl.IntegrationFlowBuilder
enhanceFlowForReadingMode
(org.springframework.integration.dsl.IntegrationFlowBuilder flowBuilder, FileConsumerProperties fileConsumerProperties) Enhance anIntegrationFlowBuilder
to add flow snippets, depending onFileConsumerProperties
.static org.springframework.integration.dsl.IntegrationFlowBuilder
enhanceStreamFlowForReadingMode
(org.springframework.integration.dsl.IntegrationFlowBuilder flowBuilder, FileConsumerProperties fileConsumerProperties) Enhance anIntegrationFlowBuilder
to add flow snippets, depending onFileConsumerProperties
; used for streaming sources.
-
Method Details
-
enhanceFlowForReadingMode
public static org.springframework.integration.dsl.IntegrationFlowBuilder enhanceFlowForReadingMode(org.springframework.integration.dsl.IntegrationFlowBuilder flowBuilder, FileConsumerProperties fileConsumerProperties) Enhance anIntegrationFlowBuilder
to add flow snippets, depending onFileConsumerProperties
.- Parameters:
flowBuilder
- the flow builder.fileConsumerProperties
- the properties.- Returns:
- the updated flow builder.
-
enhanceStreamFlowForReadingMode
public static org.springframework.integration.dsl.IntegrationFlowBuilder enhanceStreamFlowForReadingMode(org.springframework.integration.dsl.IntegrationFlowBuilder flowBuilder, FileConsumerProperties fileConsumerProperties) Enhance anIntegrationFlowBuilder
to add flow snippets, depending onFileConsumerProperties
; used for streaming sources.- Parameters:
flowBuilder
- the flow builder.fileConsumerProperties
- the properties.- Returns:
- the updated flow builder.
-