|
Joram ${version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.shared.selectors.Selector
The Selector
class is used for filtering messages according
to their header fields and properties.
Constructor Summary | |
Selector()
|
Method Summary | |
static boolean |
checks(java.lang.String selector)
Clients call this method to check a selector syntax. |
static boolean |
matches(Message message,
java.lang.String selector)
Destinations call this method to filter a message according to a selector. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Selector()
Method Detail |
public static boolean checks(java.lang.String selector) throws SelectorException
true
when the syntax is ok.
SelectorException
- When the selector syntax is incorrect.public static boolean matches(Message message, java.lang.String selector)
true
when the selection matches, false
otherwise.
|
Joram ${version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |