class AntPathMatcher {

    public static boolean excludes(final Collection<String> patterns,
                                   final URI uri) {
        checkNotNull(PATTERNS,
                     patterns);
        checkNotNull("uri",
                     uri);
        return matches(patterns,
                       uri);
    }

}