Class Wildcards

java.lang.Object
org.eluder.coveralls.maven.plugin.util.Wildcards

public final class Wildcards extends Object
Wildcard text utilities.
  • Method Details

    • matches

      public static boolean matches(String text, String wildcard)
      Matches text against a wildcard pattern where ? is single letter and * is zero or more letters.
      Parameters:
      text - the text to test against
      wildcard - the wildcard pattern
      Returns:
      true if the given text matches the wildcard, otherwise false