| java.lang.Object org.columba.mail.imap.IMAPServer
IMAPServer | public class IMAPServer implements IMAPListener,Observer,IImapServer(Code) | | IMAPStore encapsulates IMAPProtocol and the parsers for IMAPFolder.
This way
IMAPFolder doesn't need to do any parsing work, etc.
Every
IMAPFolder of a single account has also an
IMAPRootFolder , which keeps a reference to
IMAPServer .
Which itself uses
IMAPProtocol .
IMAPStore handles the current state of connection:
- STATE_NONAUTHENTICATE - not authenticated
- STATE_AUTHENTICATE - authenticated
- STATE_SELECTED - mailbox is selected
It keeps a reference to the currently selected mailbox.
IMAPFolder shouldn't use IMAPProtocol directly, instead it should use
IMAPStore.
author: fdietz |
Method Summary | |
public void | alertMessage(String arg0) | public Integer | append(InputStream messageSource, IMAPFlags flags, IMAPFolder folder) | public Integer | append(InputStream messageSource, IMAPFolder folder) | public List | checkSupportedAuthenticationMethods() | public void | connectionClosed(String arg0, String arg1) | public Integer[] | copy(IMAPFolder destFolder, Object[] uids, IMAPFolder folder) | public void | createMailbox(String mailboxName, IMAPFolder folder) | public void | deleteFolder(String path) | protected synchronized void | ensureConnectedState() | protected void | ensureLoginState() Ensure that we are in login state. | public void | ensureSelectedState(IMAPFolder folder) | public void | existsChanged(String arg0, int arg1) | public void | expunge(IMAPFolder folder) | protected String | fetchDelimiter() Fetch delimiter. | public IMAPFlags[] | fetchFlagsListStartFrom(int startIdx, IMAPFolder folder) | public IMAPFlags[] | fetchFlagsListStartFrom2(int startIdx, IMAPFolder folder) | public void | fetchHeaderList(IHeaderList headerList, List list, IMAPFolder folder) | public NamespaceCollection | fetchNamespaces() | public ListInfo[] | fetchSubscribedFolders() | public int | fetchUid(SequenceSet set, IMAPFolder folder) | public Integer[] | fetchUids(SequenceSet set, IMAPFolder folder) | public void | flagsChanged(String arg0, IMAPFlags arg1) | protected Integer | getAccountUid() | public Header | getAllHeaders(Object uid, IMAPFolder folder) | public String | getDelimiter() | public Header | getHeaders(Object uid, String[] keys, IMAPFolder folder) | public int | getIndex(Integer uid, IMAPFolder folder) | public ImapItem | getItem() | public int | getLargestRemoteUid(IMAPFolder folder) | public MailboxInfo | getMessageFolderInfo(IMAPFolder folder) | public InputStream | getMessageSourceStream(Object uid, IMAPFolder folder) | public InputStream | getMimePartBodyStream(Object uid, Integer[] address, IMAPFolder folder) | public InputStream | getMimePartSourceStream(Object uid, Integer[] address, IMAPFolder folder) | public MimeTree | getMimeTree(Object uid, IMAPFolder folder) | protected IStatusObservable | getObservable() | public MailboxStatus | getStatus(IMAPFolder folder) | protected static boolean | isAscii(String s) Check if string contains US-ASCII characters. | public boolean | isSelected(IMAPFolder folder) | public boolean | isSupported(String command) | public ListInfo[] | list(String reference, String pattern) | public void | logout() | public void | markMessage(Object[] uids, int variant, IMAPFolder folder) | public void | parseError(String arg0) | protected void | printStatusMessage(String message) | public void | recentChanged(String arg0, int arg1) | public void | renameFolder(String oldMailboxName, String newMailboxName) | public List | search(Object[] uids, IFilterRule filterRule, IMAPFolder folder) | public Integer[] | search(SearchKey key, IMAPFolder folder) | public List | search(IFilterRule filterRule, IMAPFolder folder) | public void | setExistsChangedAction(IExistsChangedAction existsChangedAction) | public void | setFirstLoginAction(IFirstLoginAction action) | public void | setFlags(Object[] uids, IMAPFlags flags, IMAPFolder folder) | public void | setObservable(IStatusObservable observable) | public void | setUpdateFlagAction(IUpdateFlagAction updateFlagAction) | public void | subscribeFolder(String mailboxName) | public void | unsubscribeFolder(String mailboxName) | public void | update(Observable o, Object arg) | public void | warningMessage(String arg0) |
usingSSL | boolean usingSSL(Code) | | |
checkSupportedAuthenticationMethods | public List checkSupportedAuthenticationMethods() throws IOException(Code) | | |
existsChanged | public void existsChanged(String arg0, int arg1)(Code) | | |
flagsChanged | public void flagsChanged(String arg0, IMAPFlags arg1)(Code) | | |
getItem | public ImapItem getItem()(Code) | | Returns configuration options of this IMAP account
configuration options of this IMAP account |
isAscii | protected static boolean isAscii(String s)(Code) | | Check if string contains US-ASCII characters.
Parameters: s - true, if string contains US-ASCII characters |
printStatusMessage | protected void printStatusMessage(String message)(Code) | | Parameters: message - |
recentChanged | public void recentChanged(String arg0, int arg1)(Code) | | |
|
|