public abstract class AbstractSimplePatternFileListFilter<F> extends AbstractFileListFilter<F>
AntPathMatcher
,
AbstractRegexPatternFileListFilter
Constructor and Description |
---|
AbstractSimplePatternFileListFilter(String path) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(F file)
Accepts the given file if its name matches the pattern.
|
protected abstract String |
getFilename(F file)
Subclasses must implement this method to extract the file's name.
|
filterFiles
public AbstractSimplePatternFileListFilter(String path)
Copyright © 2018. All rights reserved.