Package org.springframework.integration.file.filters
Provides classes supporting file filtering.
-
Interface Summary Interface Description DiscardAwareFileListFilter<F> TheFileListFilter
modification which can accept aConsumer
which can be called when the filter discards the file.FileListFilter<F> Strategy interface for filtering a group of files.ResettableFileListFilter<F> AFileListFilter
that can be reset by removing a specific file from its state.ReversibleFileListFilter<F> AFileListFilter
that allows the caller to reverse (roll back) state changes. -
Class Summary Class Description AbstractDirectoryAwareFileListFilter<F> A file list filter that can be configured to always accept (pass) directories.AbstractFileListFilter<F> A convenience base class for anyFileListFilter
whose criteria can be evaluated against each File in isolation.AbstractMarkerFilePresentFileListFilter<F> A FileListFilter that only passes files matched by one or moreFileListFilter
if a corresponding marker file is also present to indicate a file transfer is complete.AbstractPersistentAcceptOnceFileListFilter<F> Stores "seen" files in a MetadataStore to survive application restarts.AbstractRegexPatternFileListFilter<F> Filters a listing of files by qualifying their 'name' against a regular expression (an instance ofPattern
).AbstractSimplePatternFileListFilter<F> Base class for filters that support ant style path expressions, which are less powerful but more readable than regular expressions.AcceptAllFileListFilter<F> Simple implementation ofFileListFilter
that always returns true.AcceptOnceFileListFilter<F> FileListFilter
that passes files only one time.ChainFileListFilter<F> TheCompositeFileListFilter
extension which chains the result of the previous filter to the next one.CompositeFileListFilter<F> SimpleFileListFilter
that predicates its matches against all of the configuredFileListFilter
.ExpressionFileListFilter<F> A SpEL expression basedAbstractFileListFilter
implementation.FileSystemMarkerFilePresentFileListFilter File system implementation ofAbstractMarkerFilePresentFileListFilter
.FileSystemPersistentAcceptOnceFileListFilter IgnoreHiddenFileListFilter FileListFilter
implementation that ignores any hidden files.LastModifiedFileListFilter TheFileListFilter
implementation to filter those files whichFile.lastModified()
is less than theLastModifiedFileListFilter.age
in comparison with the current time.RegexPatternFileListFilter Implementation of AbstractRegexPatternMatchingFileListFilter for java.io.File instances.SimplePatternFileListFilter Filter that supports ant style path expressions, which are less powerful but more readable than regular expressions.