org.objectweb.joram.shared.selectors.Selector Class Reference

List of all members.

Static Public Member Functions

static boolean checks (String selector) throws SelectorException
static boolean matches (Message message, String selector)

Detailed Description

The Selector class is used for filtering messages according to their header fields and properties.

Definition at line 33 of file Selector.java.


Member Function Documentation

static boolean org.objectweb.joram.shared.selectors.Selector.checks ( String  selector  )  throws SelectorException [static]

Clients call this method to check a selector syntax.

Returns:
true when the syntax is ok.
Exceptions:
SelectorException When the selector syntax is incorrect.

Definition at line 41 of file Selector.java.

static boolean org.objectweb.joram.shared.selectors.Selector.matches ( Message  message,
String  selector 
) [static]

Destinations call this method to filter a message according to a selector.

Returns:
true when the selection matches, false otherwise.

Definition at line 64 of file Selector.java.


The documentation for this class was generated from the following file:
Generated on Tue Sep 16 16:21:09 2008 for joram by  doxygen 1.5.0