Spring Integration

org.springframework.integration.file
Class PatternMatchingFileListFilter

java.lang.Object
  extended by org.springframework.integration.file.AbstractFileListFilter
      extended by org.springframework.integration.file.PatternMatchingFileListFilter
All Implemented Interfaces:
FileListFilter

public class PatternMatchingFileListFilter
extends AbstractFileListFilter

A FileListFilter implementation that matches against a Pattern.

Author:
Mark Fisher

Constructor Summary
PatternMatchingFileListFilter(Pattern pattern)
          Create a filter for the given pattern.
 
Method Summary
protected  boolean accept(File file)
          Subclasses must implement this method.
 
Methods inherited from class org.springframework.integration.file.AbstractFileListFilter
filterFiles
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatternMatchingFileListFilter

public PatternMatchingFileListFilter(Pattern pattern)
Create a filter for the given pattern.

Method Detail

accept

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

Specified by:
accept in class AbstractFileListFilter

Spring Integration

Copyright © 2010. All Rights Reserved.