Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.meterware.servletunit
Class ExtensionUrlPatternMatcher  view ExtensionUrlPatternMatcher download ExtensionUrlPatternMatcher.java

java.lang.Object
  extended bycom.meterware.servletunit.UrlPatternMatcher
      extended bycom.meterware.servletunit.ExtensionUrlPatternMatcher

class ExtensionUrlPatternMatcher
extends UrlPatternMatcher


Field Summary
private  java.lang.String _suffix
           
(package private) static UrlPatternMatcher[] _templates
           
 
Constructor Summary
(package private) ExtensionUrlPatternMatcher()
           
(package private) ExtensionUrlPatternMatcher(java.lang.String suffix)
           
 
Method Summary
(package private)  UrlPatternMatcher create(java.lang.String pattern)
          Returns a suitable pattern matcher if this class is compatible with the pattern.
(package private)  boolean matchesResourceName(java.lang.String resourceName)
          Returns true if the specified resource matches this pattern.
(package private) static UrlPatternMatcher newPatternMatcher(java.lang.String pattern)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_suffix

private java.lang.String _suffix

_templates

static UrlPatternMatcher[] _templates
Constructor Detail

ExtensionUrlPatternMatcher

ExtensionUrlPatternMatcher()

ExtensionUrlPatternMatcher

ExtensionUrlPatternMatcher(java.lang.String suffix)
Method Detail

create

UrlPatternMatcher create(java.lang.String pattern)
Description copied from class: UrlPatternMatcher
Returns a suitable pattern matcher if this class is compatible with the pattern. Will return null otherwise.

Specified by:
create in class UrlPatternMatcher

matchesResourceName

boolean matchesResourceName(java.lang.String resourceName)
Description copied from class: UrlPatternMatcher
Returns true if the specified resource matches this pattern.

Specified by:
matchesResourceName in class UrlPatternMatcher

newPatternMatcher

static UrlPatternMatcher newPatternMatcher(java.lang.String pattern)