com.github.datalking.util.PathMatcher Maven / Gradle / Ivy
package com.github.datalking.util;
import java.util.Comparator;
import java.util.Map;
/**
* @author yaoo on 4/28/18
*/
public interface PathMatcher {
boolean isPattern(String path);
boolean match(String pattern, String path);
boolean matchStart(String pattern, String path);
String extractPathWithinPattern(String pattern, String path);
Map extractUriTemplateVariables(String pattern, String path);
Comparator getPatternComparator(String path);
String combine(String pattern1, String pattern2);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy