Package org.springframework.integration.file
package org.springframework.integration.file
Base package for File support.
-
ClassDescriptionDefault directory scanner and base class for other directory scanners.Default implementation of the filename generator strategy.Strategy for scanning directories.Pre-defined header names to be used when storing or retrieving File-related values to/from integration Message Headers.A FileLocker is a strategy that can ensure that files are only processed a single time.Strategy interface for generating a file name from a message.
MessageSourcethat creates messages from a file system directory.AMessageHandlerimplementation that writes the Message payload to a file.When usingFileExistsMode.APPEND_NO_FLUSH, an implementation of this interface is called for each file that has pending data to flush and close whenFileWritingMessageHandler.flushIfNeeded(FlushPredicate)is invoked.When usingFileExistsMode.APPEND_NO_FLUSHan implementation of this interface is called for each file that has pending data to flush when a trigger message is received.A custom scanner that only returns the firstmaxNumberOfFileselements from a directory listing.TheDefaultDirectoryScannerextension which walks through the directory tree usingFiles.walk(Path, int, FileVisitOption...).