Class URLFilters


  • public class URLFilters
    extends Object
    Creates and caches plugins implementing URLFilter. Filters URLs using the active filters defined by the properties "plugin.includes", "plugin.excludes" and "urlfilter.order".
    • Method Detail

      • getFilters

        public URLFilter[] getFilters()
      • filter

        public String filter​(String urlString)
                      throws URLFilterException
        Run all defined filters. Assume logical AND. To control performance, the ULFilter classes can be ordered by the property "urlfilter.order".
        Parameters:
        urlString - to execute filters on
        Returns:
        filtered result
        Throws:
        URLFilterException - if there is an issue executing any URLFilter implementations.