returns a file filter that matches the whole relative path of the file instead of just the file name . the path is derived relative to the given base . concode_field_sep Pattern namePattern concode_field_sep boolean accept
FileFilter function ( final RelativePathBase arg0 ) { return new FileFilter ( ) { @ Override public boolean accept ( File arg1 ) { final String loc0 = arg0 . getRelativePathFor ( arg1 ) ; return namePattern . matcher ( loc0 ) . matches ( ) ; } } ; }