Class ClasspathMatcher

java.lang.Object
net.sourceforge.jnlp.util.ClasspathMatcher

public class ClasspathMatcher extends Object
  • Field Details

  • Constructor Details

    • ClasspathMatcher

      private ClasspathMatcher(String source)
      http://www.w3.org/Addressing/URL/url-spec.txt
  • Method Details

    • getParts

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • compile

      public static ClasspathMatcher compile(String source)
    • match

      private boolean match(URL url, boolean includePath)
    • match

      public boolean match(URL url)
    • matchWithPath

      public boolean matchWithPath(URL url)
    • matchWithoutPath

      public boolean matchWithoutPath(URL url)
    • hasProtocol

      static boolean hasProtocol(String source)
    • extractProtocolImpl

      private static String[] extractProtocolImpl(String source)
    • extractProtocol

      static String extractProtocol(String source)
    • removeProtocol

      static String removeProtocol(String source)
    • hasPath

      static boolean hasPath(String source)
    • extractPathImpl

      private static String[] extractPathImpl(String source)
    • extractPath

      static String extractPath(String source)
    • removePath

      static String removePath(String source)
    • hasPort

      static boolean hasPort(String source)
    • extractPortImpl

      private static String[] extractPortImpl(String source)
    • extractPort

      static String extractPort(String source)
    • removePort

      static String removePort(String source)
    • splitOnFirst

      public static String[] splitOnFirst(String source, String delimiter)
    • sourceToRegExString

      public static String sourceToRegExString(String s)
    • convertWildcardToRegEx

      private static String convertWildcardToRegEx(String s)
    • sourceToRegEx

      public static Pattern sourceToRegEx(String s)
    • splitToParts

      static ClasspathMatcher.Parts splitToParts(String source)