Class RegExpMatchOnNameFilter

    • Field Detail

      • pattern

        protected Pattern pattern
    • Constructor Detail

      • RegExpMatchOnNameFilter

        public RegExpMatchOnNameFilter​(String regExpString)
    • Method Detail

      • getRegExpString

        public String getRegExpString()
      • accept

        public boolean accept​(CrawlableDataset dataset)
        Description copied from interface: CrawlableDatasetFilter
        Test whether the specified CrawlableDataset should be included in a list of CrawlableDatasets.
        Specified by:
        accept in interface CrawlableDatasetFilter
        Parameters:
        dataset - the CrawlableDataset to test for inclusion.
        Returns:
        true if the given CrawlableDataset should be included, false otherwise.