class AntPathMatcher {

    public static boolean includes(final Collection<String> patterns,
                                   final Path path) {
        checkNotNull(PATTERNS,
                     patterns);
        checkNotNull("path",
                     path);
        return matches(patterns,
                       path);
    }

}