|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Matchable
A class implementing this interface can be matched. This interface can be used to indicate whether a class can be used for pattern matching.
Method Summary | |
---|---|
boolean |
match(String part)
Indicates whether this token matches the specified part of a URL. |
Pattern |
pattern()
Returns a regular expression pattern corresponding to this object. |
Method Detail |
---|
boolean match(String part)
part
- The part of URL to test for matching.
true
if it matches; false
otherwise.Pattern pattern()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |