Package org.springframework.integration.file
Base package for File support.
-
Interface Summary Interface Description DirectoryScanner Strategy for scanning directories.FileLocker A FileLocker is a strategy that can ensure that files are only processed a single time.FileNameGenerator Strategy interface for generating a file name from a message.FileWritingMessageHandler.FlushPredicate 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.FileWritingMessageHandler.MessageFlushPredicate When usingFileExistsMode.APPEND_NO_FLUSH
an implementation of this interface is called for each file that has pending data to flush when a trigger message is received. -
Class Summary Class Description DefaultDirectoryScanner Default directory scanner and base class for other directory scanners.DefaultFileNameGenerator Default implementation of the filename generator strategy.FileHeaders Pre-defined header names to be used when storing or retrieving File-related values to/from integration Message Headers.FileReadingMessageSource MessageSource
that creates messages from a file system directory.FileWritingMessageHandler AMessageHandler
implementation that writes the Message payload to a file.HeadDirectoryScanner A custom scanner that only returns the firstmaxNumberOfFiles
elements from a directory listing.RecursiveDirectoryScanner TheDefaultDirectoryScanner
extension which walks through the directory tree usingFiles.walk(Path, int, FileVisitOption...)
. -
Enum Summary Enum Description FileReadingMessageSource.WatchEventType