public static Iterable<File> findFiles(final Collection<URL> inUrls, final Predicate<File> filePredicate) {
        Iterable<File> result = new ArrayList<File>();

        for (final URL url : inUrls) {
            try {
                result = Iterables.concat(result,
                        Iterables.filter(new Iterable<File>() {
                            public Iterator<File> iterator() {
                                return fromURL(url).getFiles().iterator();
                            }
                        }, filePredicate));
            } catch (Throwable e) {
                if (Reflections.log != null) {
                    Reflections.log.error("could not findFiles for url. continuing. [" + url + "]", e);
                }
            }
        }

        return result;
    }
public static Iterable < File > findFiles ( final Collection < URL > inUrls , final Predicate < File > filePredicate ) { Iterable < File > result = new ArrayList < File > ( ) ; for ( final URL url : inUrls ) { try { result = Iterables . concat ( result , Iterables . filter ( new Iterable < File > ( ) { public Iterator < File > iterator ( ) { return fromURL ( url ) . getFiles ( ) . iterator ( ) ; } } , filePredicate ) ) ; } catch ( Throwable e ) { if ( Reflections . log != null ) { Reflections . log . error ( "could not findFiles for url. continuing. [" + url + "]" , e ) ; } } } return result ; }
return an iterable of all {@link org.reflections.vfs.Vfs.File} in given urls, matching filePredicate