org.springframework.integration.file.locking
Class AbstractFileLockerFilter
java.lang.Object
org.springframework.integration.file.AbstractFileListFilter
org.springframework.integration.file.locking.AbstractFileLockerFilter
- All Implemented Interfaces:
- FileListFilter, FileLocker
- Direct Known Subclasses:
- NioFileLocker
public abstract class AbstractFileLockerFilter
- extends AbstractFileListFilter
- implements FileLocker
Convenience base class for implementing FileLockers that check a lock before accepting a file. This is needed
when used in combination with a FileReadingMessageSource through a DirectoryScanner.
- Since:
- 2.0
- Author:
- Iwein Fuld
Method Summary |
protected boolean |
accept(File file)
Subclasses must implement this method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFileLockerFilter
public AbstractFileLockerFilter()
accept
protected final boolean accept(File file)
- Description copied from class:
AbstractFileListFilter
- Subclasses must implement this method.
- Specified by:
accept
in class AbstractFileListFilter
Copyright © 2010. All Rights Reserved.