Package com.atlassian.bamboo.utils
Class PathFileFilter
- java.lang.Object
-
- org.apache.commons.io.filefilter.AbstractFileFilter
-
- com.atlassian.bamboo.utils.PathFileFilter
-
- All Implemented Interfaces:
FileFilter,FilenameFilter,FileVisitor<Path>,PathMatcher,org.apache.commons.io.file.PathFilter,org.apache.commons.io.file.PathVisitor,org.apache.commons.io.filefilter.IOFileFilter
public class PathFileFilter extends org.apache.commons.io.filefilter.AbstractFileFilterMatches file if any of it's parents has given name- Since:
- v3.3
-
-
Constructor Summary
Constructors Constructor Description PathFileFilter(String dirName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(File pathname)-
Methods inherited from class org.apache.commons.io.filefilter.AbstractFileFilter
accept, handle, postVisitDirectory, preVisitDirectory, toString, visitFile, visitFileFailed
-
-
-
-
Constructor Detail
-
PathFileFilter
public PathFileFilter(String dirName)
-
-
Method Detail
-
accept
public boolean accept(File pathname)
- Specified by:
acceptin interfaceFileFilter- Specified by:
acceptin interfaceorg.apache.commons.io.filefilter.IOFileFilter- Overrides:
acceptin classorg.apache.commons.io.filefilter.AbstractFileFilter
-
-