code: public static Predicate<String> ant(final String antPattern) {
      return new Predicate<String>() {
        @Override
        public boolean test(String input) {
          AntPathMatcher matcher = new AntPathMatcher();
          return matcher.match(antPattern, input);
        }
      };
    }
docs: Predicate that evaluates the supplied ant pattern
  
  @param antPattern - ant Pattern
  @return predicate that matches a particular ant pattern