Package org.springframework.integration.file.filters
package org.springframework.integration.file.filters
Provides classes supporting file filtering.
-
ClassDescriptionA file list filter that can be configured to always accept (pass) directories.A convenience base class for any
FileListFilterwhose criteria can be evaluated against each File in isolation.TheFileListFilterimplementation to filter those files which lastModified is less than theAbstractLastModifiedFileListFilter.agein comparison with theInstant.now().A FileListFilter that only passes files matched by one or moreFileListFilterif a corresponding marker file is also present to indicate a file transfer is complete.Stores "seen" files in a MetadataStore to survive application restarts.TheFileListFilterto accept only files which are recent according to providedage: thelastModifiedof the file is more than the age in comparison with the current time.Filters a listing of files by qualifying their 'name' against a regular expression (an instance ofPattern).Base class for filters that support ant style path expressions, which are less powerful but more readable than regular expressions.Simple implementation ofFileListFilterthat always returns true.FileListFilterthat passes files only one time.TheCompositeFileListFilterextension which chains the result of the previous filter to the next one.SimpleFileListFilterthat predicates its matches against all of the configuredFileListFilter.TheFileListFiltermodification which can accept aConsumerwhich can be called when the filter discards the file.A SpEL expression basedAbstractFileListFilterimplementation.Strategy interface for filtering a group of files.File system implementation ofAbstractMarkerFilePresentFileListFilter.FileListFilterimplementation that ignores any hidden files.TheFileListFilterimplementation to filter those files whichFile.lastModified()is less than the age in comparison with the current time.TheAbstractRecentFileListFilterimplementation for local file system.Implementation of AbstractRegexPatternMatchingFileListFilter for java.io.File instances.AFileListFilterthat can be reset by removing a specific file from its state.AFileListFilterthat allows the caller to reverse (roll back) state changes.Filter that supports ant style path expressions, which are less powerful but more readable than regular expressions.