Class ExpressionFileListFilter<F>
java.lang.Object
org.springframework.integration.file.filters.AbstractFileListFilter<F>
org.springframework.integration.file.filters.ExpressionFileListFilter<F>
- Type Parameters:
F- The type that will be filtered.
- All Implemented Interfaces:
Aware,BeanFactoryAware,FileListFilter<F>
public class ExpressionFileListFilter<F>
extends AbstractFileListFilter<F>
implements BeanFactoryAware
A SpEL expression based
AbstractFileListFilter implementation.- Since:
- 5.0
- Author:
- Artem Bilan, Gary Russell
-
Constructor Summary
ConstructorsConstructorDescriptionExpressionFileListFilter(String expression) ExpressionFileListFilter(Expression expression) -
Method Summary
Modifier and TypeMethodDescriptionbooleanSubclasses must implement this method.voidsetBeanFactory(BeanFactory beanFactory) Methods inherited from class org.springframework.integration.file.filters.AbstractFileListFilter
filterFiles, supportsSingleFileFilteringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.integration.file.filters.FileListFilter
isForRecursion
-
Constructor Details
-
ExpressionFileListFilter
-
ExpressionFileListFilter
-
-
Method Details
-
setBeanFactory
- Specified by:
setBeanFactoryin interfaceBeanFactoryAware- Throws:
BeansException
-
accept
Description copied from class:AbstractFileListFilterSubclasses must implement this method.- Specified by:
acceptin interfaceFileListFilter<F>- Specified by:
acceptin classAbstractFileListFilter<F>- Parameters:
file- The file.- Returns:
- true if the file passes the filter.
- See Also:
-