config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/url/URLPatternParser.java
public boolean matches(final URL target)
   {
      if (elPattern) {
         return urlElPattern.matcher(target.toURL()).matches();
      }
      else {
         return urlPattern.toURL().equals(target.toURL());
      }
   }
public boolean matches(final URL target)
   {
      if (elPattern) {
         return urlElPattern.matcher(target.toURL()).matches();
      }
      else {
         return urlPattern.toURL().equals(target.toURL());
      }
   }
public boolean matches ( final URL target ) { if ( elPattern ) { return urlElPattern . matcher ( target . toURL ( ) ) . matches ( ) ; } else { return urlPattern . toURL ( ) . equals ( target . toURL ( ) ) ; } }
Return true if this parser matches the given URL, otherwise, return false.
Return true if this parser matches the given URL otherwise return false .