org.n52.security.common.util
Class URLWildcardMatcher

java.lang.Object
  extended by org.n52.security.common.util.URLWildcardMatcher

public class URLWildcardMatcher
extends Object

Compares URI's that may contain the wild card character '*' or '**' characters. Thus it works like the PathWildcardMatcher but has some special behaviors for URLs. If the pattern or incomming values can't be parsed to URLs it will fallback to the normal PathWildcardMatchFunction behavior.

Author:
Marko Reiprecht

Constructor Summary
URLWildcardMatcher(String wildCardUrlString, boolean caseInsensitive)
          Creates new instance.
 
Method Summary
 boolean matches(String testString)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLWildcardMatcher

public URLWildcardMatcher(String wildCardUrlString,
                          boolean caseInsensitive)
Creates new instance.

Method Detail

matches

public boolean matches(String testString)


Copyright © 2004–2014 52north.org. All rights reserved.