Package it.unimi.dsi.law.warc.filters
Class PathEndsWithOneOf
public class PathEndsWithOneOf extends AbstractFilter<URI>
Accepts only URIs whose path ends (case-insensitively) with one of a given set of suffixes.
-
Field Summary
Fields inherited from interface it.unimi.dsi.law.warc.filters.Filter
FILTER_PACKAGE_NAME
-
Constructor Summary
Constructors Constructor Description PathEndsWithOneOf(String[] suffixes)
Creates a filter that only accepts URLs whose path ends with one of a given set of suffixes. -
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
-
PathEndsWithOneOf
Creates a filter that only accepts URLs whose path ends with one of a given set of suffixes.- Parameters:
suffixes
- the accepted suffixes.
-
-
Method Details