|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.avm.util.HrefBearingRequestPathNameMatcher
public class HrefBearingRequestPathNameMatcher
NameMatcher that matches a list of extensions (case insensitively) associated with the request path portion of of a URL. For example, Given the URL: "http://example.com/moo/cow.html", the extention is "html" (note: the '.' character is elided).
| Constructor Summary | |
|---|---|
HrefBearingRequestPathNameMatcher()
Default constructor. |
|
| Method Summary | |
|---|---|
boolean |
matches(java.lang.String path)
Returns true if the URL requst path (e.g.: /moo/cow.html) contains an extension (e.g.: "html") included in the list of matching extensions. |
void |
setExtensions(java.util.List extensions)
Set the extensions case insensitively. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HrefBearingRequestPathNameMatcher()
| Method Detail |
|---|
public void setExtensions(java.util.List extensions)
extensions - public boolean matches(java.lang.String path)
matches in interface org.alfresco.util.NameMatcher
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||