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>
,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.AbstractFileFilter
Matches 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 boolean
accept(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:
accept
in interfaceFileFilter
- Specified by:
accept
in interfaceorg.apache.commons.io.filefilter.IOFileFilter
- Overrides:
accept
in classorg.apache.commons.io.filefilter.AbstractFileFilter
-
-