@Override
    public String filter(URL pageUrl, Metadata sourceMetadata, String url) {
        for (RegexRule rule : rules) {
            if (rule.match(url)) {
                return rule.accept() ? url : null;
            }
        }
        return null;
    }
@Override
    public String filter(URL pageUrl, Metadata sourceMetadata, String url) {
        for (RegexRule rule : rules) {
            if (rule.match(url)) {
                return rule.accept() ? url : null;
            }
        }
        return null;
    }
@ Override public String filter ( URL pageUrl , Metadata sourceMetadata , String url ) { for ( RegexRule rule : rules ) { if ( rule . match ( url ) ) { return rule . accept ( ) ? url : null ; } } return null ; }
/*
-------------------------- * <implementation:URLFilter> *
--------------------------
/ * -------------------------- * <implementation : URLFilter > * --------------------------