Package it.unimi.dsi.law.warc.filters
Class URLMatchesRegex
public class URLMatchesRegex extends AbstractFilter<URI>
Accepts only URIs that match a certain regular expression.
-
Field Summary
Fields inherited from interface it.unimi.dsi.law.warc.filters.Filter
FILTER_PACKAGE_NAME
-
Constructor Summary
Constructors Constructor Description URLMatchesRegex(String expr)
Creates a filter that only accepts URLs matching a given regular expression. -
Method Summary
Methods inherited from class it.unimi.dsi.law.warc.filters.AbstractFilter
toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.common.base.Predicate
test
-
Constructor Details
-
URLMatchesRegex
Creates a filter that only accepts URLs matching a given regular expression.- Parameters:
expr
- the regular expression.
-
-
Method Details