Spring Integration

org.springframework.integration.file.filters
Class AcceptAllFileListFilter<F>

java.lang.Object
  extended by org.springframework.integration.file.filters.AbstractFileListFilter<F>
      extended by org.springframework.integration.file.filters.AcceptAllFileListFilter<F>
Type Parameters:
F -
All Implemented Interfaces:
FileListFilter<F>

public class AcceptAllFileListFilter<F>
extends AbstractFileListFilter<F>

Simple implementation of FileListFilter that always returns true. Suitable as a default.

Author:
Iwein Fuld, Josh Long

Constructor Summary
AcceptAllFileListFilter()
           
 
Method Summary
 boolean accept(F file)
          Subclasses must implement this method.
 
Methods inherited from class org.springframework.integration.file.filters.AbstractFileListFilter
filterFiles
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AcceptAllFileListFilter

public AcceptAllFileListFilter()
Method Detail

accept

public boolean accept(F file)
Description copied from class: AbstractFileListFilter
Subclasses must implement this method.

Specified by:
accept in class AbstractFileListFilter<F>

Spring Integration