org.ujmp.mail
Class ImapUtil
java.lang.Object
org.ujmp.mail.ImapUtil
- All Implemented Interfaces:
- Closeable
public class ImapUtil
- extends Object
- implements Closeable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImapUtil
public ImapUtil(String host,
String user,
String password)
getPersonalFolders
public ListMatrix<javax.mail.Folder> getPersonalFolders()
throws Exception
- Throws:
Exception
getSubFolders
public ListMatrix<javax.mail.Folder> getSubFolders(javax.mail.Folder folder)
throws Exception
- Throws:
Exception
getMessages
public MessagesMatrix getMessages(String folderName)
throws Exception
- Throws:
Exception
getFolder
public javax.mail.Folder getFolder(String folderName)
throws Exception
- Throws:
Exception
getSubFolders
public ListMatrix<javax.mail.Folder> getSubFolders(String folderName)
throws Exception
- Throws:
Exception
getMessages
public MessagesMatrix getMessages(javax.mail.Folder folder)
throws Exception
- Throws:
Exception
close
public void close()
- Specified by:
close
in interface Closeable
getSharedFolders
public ListMatrix<javax.mail.Folder> getSharedFolders()
throws Exception
- Throws:
Exception
Copyright © 2010. All Rights Reserved.