Klasse PathMatcher

java.lang.Object
org.xbib.net.path.simple.PathMatcher

public class PathMatcher extends Object
Path matcher. The methods of this class are threadsafe. This is based on org.springframework.util.AntPathMatcher
  • Konstruktordetails

    • PathMatcher

      public PathMatcher()
    • PathMatcher

      public PathMatcher(String pathSeparator)
  • Methodendetails

    • setPathSeparator

      public void setPathSeparator(String pathSeparator)
    • setCaseSensitive

      public void setCaseSensitive(boolean caseSensitive)
    • setTrimTokens

      public void setTrimTokens(boolean trimTokens)
    • extractUriTemplateVariables

      public org.xbib.net.Parameter extractUriTemplateVariables(String pattern, String path)
    • getPatternComparator

      public PathComparator getPatternComparator(String path)
    • match

      public boolean match(String pattern, String path)
    • matchStart

      public boolean matchStart(String pattern, String path)
    • extractPathWithinPattern

      public String extractPathWithinPattern(String pattern, String path)
    • combine

      public String combine(String pattern1, String pattern2)
    • tokenize

      public List<String> tokenize(String string)