com.atlassian.bamboo.utils
Class PathFileFilter

java.lang.Object
  extended by org.apache.commons.io.filefilter.AbstractFileFilter
      extended by com.atlassian.bamboo.utils.PathFileFilter
All Implemented Interfaces:
java.io.FileFilter, java.io.FilenameFilter, 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
PathFileFilter(java.lang.String dirName)
           
 
Method Summary
 boolean accept(java.io.File pathname)
           
 
Methods inherited from class org.apache.commons.io.filefilter.AbstractFileFilter
accept
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathFileFilter

public PathFileFilter(java.lang.String dirName)
Method Detail

accept

public boolean accept(java.io.File pathname)
Specified by:
accept in interface java.io.FileFilter
Specified by:
accept in interface org.apache.commons.io.filefilter.IOFileFilter
Overrides:
accept in class org.apache.commons.io.filefilter.AbstractFileFilter


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.