org.springframework.integration.file.entries
Class AbstractEntryListFilter<T>
java.lang.Object
org.springframework.integration.file.entries.AbstractEntryListFilter<T>
- All Implemented Interfaces:
- InitializingBean, EntryListFilter<T>
- Direct Known Subclasses:
- AbstractFileLockerFilter, AcceptAllEntryListFilter, AcceptOnceEntryFileListFilter, PatternMatchingEntryListFilter, SingleEntryAdaptingEntryListFilter
public abstract class AbstractEntryListFilter<T>
- extends Object
- implements InitializingBean, EntryListFilter<T>
A convenience base class for any EntryListFilter
whose criteria can be
evaluated against each File in isolation. If the entire List of files is
required for evaluation, implement the EntryListFilter
interface directly.
- Author:
- Mark Fisher, Iwein Fuld, Josh Long
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractEntryListFilter
public AbstractEntryListFilter()
accept
public abstract boolean accept(T t)
filterEntries
public List<T> filterEntries(T[] entries)
- Specified by:
filterEntries
in interface EntryListFilter<T>
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface InitializingBean
- Throws:
Exception
Copyright © 2010. All Rights Reserved.