code: public static Predicate<String> getGlobStringPredicate(String glob) {
  		PathMatcher matcher = getGlobPathMatcher(glob);
  		return str -> matcher.matches(Paths.get(str));
  	}
docs: Same as {@link #getGlobPathMatcher(String)} but returns a string predicate.
  
  @param glob a glob string
  @return a predicate for the glob string