|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.james.mailbox.MailboxQuery
public class MailboxQuery
Expresses select criteria for mailboxes.
| Constructor Summary | |
|---|---|
MailboxQuery(MailboxPath base,
java.lang.String expression,
char freeWildcard,
char localWildcard)
Constructs an expression determining a set of mailbox names. |
|
| Method Summary | |
|---|---|
MailboxPath |
getBase()
Gets the base reference for the search. |
java.lang.String |
getCombinedName()
Get combined name formed by adding the expression to the base using the given hierarchy delimiter. |
java.lang.String |
getExpression()
Gets the name search expression. |
char |
getFreeWildcard()
Gets wildcard character that matches any series of characters. |
char |
getLocalWildcard()
Gets wildacard character that matches any series of characters excluding hierarchy delimiters. |
boolean |
isExpressionMatch(java.lang.String name)
Is the given name a match for getExpression()? |
boolean |
isWild()
Is this expression wild? |
java.lang.String |
toString()
Renders a string suitable for logging. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MailboxQuery(MailboxPath base,
java.lang.String expression,
char freeWildcard,
char localWildcard)
base - base reference name, not nullexpression - mailbox match expression, not nullfreeWildcard - matches any series of charaterslocalWildcard - matches any sequence of characters up to the next hierarchy
delimiter| Method Detail |
|---|
public final MailboxPath getBase()
public final java.lang.String getExpression()
public final char getFreeWildcard()
public final char getLocalWildcard()
public final boolean isExpressionMatch(java.lang.String name)
getExpression()?
name - name to be matchedhierarchyDelimiter - mailbox hierarchy delimiter
public java.lang.String getCombinedName()
getBase() combined with getExpression(), notnullpublic boolean isWild()
public java.lang.String toString()
toString in class java.lang.ObjectString representation of this object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||