com.infoengine.email
Class FolderUtilities

java.lang.Object
  extended bycom.infoengine.email.FolderUtilities

public class FolderUtilities
extends Object


Field Summary
static String[] defaultAttributes
           
private static String regexpSpecials
           
 
Constructor Summary
FolderUtilities()
           
 
Method Summary
static String getAttribute(javax.mail.Folder folder, String name)
           
static Element getElement(javax.mail.Folder folder, String[] attributes)
           
static org.apache.regexp.RE getRegexp(String pattern, char separator)
           
static javax.mail.Folder[] getSubscribedFolders(javax.mail.Store store)
           
static javax.mail.Folder[] intersectionOf(javax.mail.Folder[] set1, javax.mail.Folder[] set2)
           
static boolean isNumericAttribute(String name)
           
static javax.mail.Folder[] unionOf(javax.mail.Folder[] set1, javax.mail.Folder[] set2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

regexpSpecials

private static final String regexpSpecials
See Also:
Constant Field Values

defaultAttributes

public static String[] defaultAttributes
Constructor Detail

FolderUtilities

public FolderUtilities()
Method Detail

getElement

public static Element getElement(javax.mail.Folder folder,
                                 String[] attributes)
                          throws IEException
Throws:
IEException

getAttribute

public static String getAttribute(javax.mail.Folder folder,
                                  String name)
                           throws IEException
Throws:
IEException

isNumericAttribute

public static boolean isNumericAttribute(String name)

getSubscribedFolders

public static javax.mail.Folder[] getSubscribedFolders(javax.mail.Store store)
                                                throws IEException
Throws:
IEException

getRegexp

public static org.apache.regexp.RE getRegexp(String pattern,
                                             char separator)
                                      throws IEException
Throws:
IEException

intersectionOf

public static javax.mail.Folder[] intersectionOf(javax.mail.Folder[] set1,
                                                 javax.mail.Folder[] set2)

unionOf

public static javax.mail.Folder[] unionOf(javax.mail.Folder[] set1,
                                          javax.mail.Folder[] set2)