|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.integration.file.filters.AbstractFileListFilter<F> org.springframework.integration.file.filters.AbstractSimplePatternFileListFilter<java.io.File> org.springframework.integration.file.filters.SimplePatternFileListFilter
public class SimplePatternFileListFilter
Filter that supports ant style path expressions, which are less powerful but more readable than regular expressions. This filter only filters on the name of the file, the rest of the path is ignored.
Constructor Summary | |
---|---|
SimplePatternFileListFilter(java.lang.String path)
|
Method Summary | |
---|---|
protected java.lang.String |
getFilename(java.io.File file)
Subclasses must implement this method to extract the file's name. |
Methods inherited from class org.springframework.integration.file.filters.AbstractSimplePatternFileListFilter |
---|
accept |
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 |
---|
public SimplePatternFileListFilter(java.lang.String path)
Method Detail |
---|
protected java.lang.String getFilename(java.io.File file)
AbstractSimplePatternFileListFilter
getFilename
in class AbstractSimplePatternFileListFilter<java.io.File>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |