com.hs.mail.imap.mailbox
Class MailboxQuery

java.lang.Object
  extended by com.hs.mail.imap.mailbox.MailboxQuery

public class MailboxQuery
extends Object

Expresses select criteria for mailboxes.

Since:
Mar 9, 2010
Author:
Won Chul Doh

Constructor Summary
MailboxQuery(String referenceName, String mailboxName)
           
 
Method Summary
 boolean containsWildcard()
           
 String getExpression()
           
 boolean match(String name)
          Is the given name a match for expression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailboxQuery

public MailboxQuery(String referenceName,
                    String mailboxName)
Method Detail

getExpression

public String getExpression()

containsWildcard

public boolean containsWildcard()

match

public boolean match(String name)
Is the given name a match for expression

Parameters:
name - name to be matched
Returns:
true if the given name matches this expression, false otherwise


Copyright © 2011. All Rights Reserved.