| org.columba.mail.imap.IImapServer
All known Subclasses: org.columba.mail.imap.IMAPServer, org.columba.mail.imap.TestServer,
IImapServer | public interface IImapServer (Code) | | |
Method Summary | |
public void | alertMessage(String arg0) | public Integer | append(InputStream messageSource, IMAPFlags flags, IMAPFolder folder) Append message to mailbox. | public Integer | append(InputStream messageSource, IMAPFolder folder) Append message to mailbox. | public List | checkSupportedAuthenticationMethods() | public void | connectionClosed(String arg0, String arg1) | public Integer[] | copy(IMAPFolder destFolder, Object[] uids, IMAPFolder folder) Copy a set of messages to another mailbox on the same IMAP server.
We copy messages in pieces of 100 headers. | public void | createMailbox(String mailboxName, IMAPFolder folder) Create new mailbox. | public void | deleteFolder(String path) Delete mailbox. | public void | ensureSelectedState(IMAPFolder folder) Check if mailbox is already selected. | public void | existsChanged(String arg0, int arg1) | public void | expunge(IMAPFolder folder) Expunge folder. | public IMAPFlags[] | fetchFlagsListStartFrom(int startIdx, IMAPFolder folder) Fetch list of flags and parse it. | public IMAPFlags[] | fetchFlagsListStartFrom2(int startIdx, IMAPFolder folder) Fetch list of flags and parse it. | public void | fetchHeaderList(IHeaderList headerList, List list, IMAPFolder folder) Fetch list of headers and parse them.
We fetch headers in pieces of 100 headers. | public NamespaceCollection | fetchNamespaces() | public ListInfo[] | fetchSubscribedFolders() | public int | fetchUid(SequenceSet set, IMAPFolder folder) Fetch the uid for the index. | public Integer[] | fetchUids(SequenceSet set, IMAPFolder folder) Fetch list of UIDs. | public void | flagsChanged(String arg0, IMAPFlags arg1) | public Header | getAllHeaders(Object uid, IMAPFolder folder) Get complete headers. | public String | getDelimiter() | public Header | getHeaders(Object uid, String[] keys, IMAPFolder folder) Get
MimePart . | 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) Get complete message source. | public InputStream | getMimePartBodyStream(Object uid, Integer[] address, IMAPFolder folder) Get
MimePart . | public InputStream | getMimePartSourceStream(Object uid, Integer[] address, IMAPFolder folder) Get
MimePart . | public MimeTree | getMimeTree(Object uid, IMAPFolder folder) Get
MimeTree . | public MailboxStatus | getStatus(IMAPFolder folder) | public boolean | isSelected(IMAPFolder folder) | public boolean | isSupported(String command) | public ListInfo[] | list(String reference, String pattern) List available Mailboxes. | public void | logout() Logout cleanly. | public void | markMessage(Object[] uids, int variant, IMAPFolder folder) Mark message as specified by variant.
See
MarkMessageCommand for a list of variants.
We mark messages in pieces of 100 headers. | public void | parseError(String arg0) | public void | recentChanged(String arg0, int arg1) | public void | renameFolder(String oldMailboxName, String newMailboxName) Rename mailbox. | public List | search(Object[] uids, IFilterRule filterRule, IMAPFolder folder) Search messages. | 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) Subscribe to mailbox. | public void | unsubscribeFolder(String mailboxName) Unsubscribe to mailbox. | public void | update(Observable o, Object arg) | public void | warningMessage(String arg0) |
alertMessage | public void alertMessage(String arg0)(Code) | | See Also: org.columba.ristretto.imap.IMAPListener.alertMessage(java.lang.String) |
checkSupportedAuthenticationMethods | public List checkSupportedAuthenticationMethods() throws IOException(Code) | | |
connectionClosed | public void connectionClosed(String arg0, String arg1)(Code) | | See Also: org.columba.ristretto.imap.IMAPListener.connectionClosed(java.lang.Stringjava.lang.String) |
copy | public Integer[] copy(IMAPFolder destFolder, Object[] uids, IMAPFolder folder) throws Exception(Code) | | Copy a set of messages to another mailbox on the same IMAP server.
We copy messages in pieces of 100 headers. This means we tokenize the
list in sublists of the size of 100. Then we execute the
command and process those 100 results.
Parameters: destFolder - destination mailbox Parameters: uids - UIDs of messages -> this array will get sorted! Parameters: path - source mailbox throws: Exception - |
existsChanged | public void existsChanged(String arg0, int arg1)(Code) | | See Also: org.columba.ristretto.imap.IMAPListener.existsChanged(java.lang.Stringint) |
fetchHeaderList | public void fetchHeaderList(IHeaderList headerList, List list, IMAPFolder folder) throws Exception(Code) | | Fetch list of headers and parse them.
We fetch headers in pieces of 100 headers. This means we tokenize the
list in sublists of the size of 100. Then we execute the
command and process those 100 results.
Parameters: headerList - headerlist to add new headers Parameters: list - list of UIDs to download Parameters: path - mailbox name throws: Exception - |
flagsChanged | public void flagsChanged(String arg0, IMAPFlags arg1)(Code) | | See Also: org.columba.ristretto.imap.IMAPListener.flagsChanged(java.lang.Stringorg.columba.ristretto.imap.IMAPFlags) |
markMessage | public void markMessage(Object[] uids, int variant, IMAPFolder folder) throws IOException, IMAPException, CommandCancelledException(Code) | | Mark message as specified by variant.
See
MarkMessageCommand for a list of variants.
We mark messages in pieces of 100 headers. This means we tokenize the
list in sublists of the size of 100. Then we execute the
command and process those 100 results.
Parameters: uids - message UID Parameters: variant - variant (read/flagged/expunged/etc.) Parameters: folder - mailbox name throws: Exception - |
parseError | public void parseError(String arg0)(Code) | | See Also: org.columba.ristretto.imap.IMAPListener.parseError(java.lang.String) |
recentChanged | public void recentChanged(String arg0, int arg1)(Code) | | See Also: org.columba.ristretto.imap.IMAPListener.recentChanged(java.lang.Stringint) |
search | public List search(Object[] uids, IFilterRule filterRule, IMAPFolder folder) throws Exception(Code) | | Search messages.
Parameters: uids - message UIDs Parameters: filterRule - filter rules Parameters: folder - mailbox name list of UIDs which match filter rules throws: Exception - |
setExistsChangedAction | public void setExistsChangedAction(IExistsChangedAction existsChangedAction)(Code) | | Parameters: existsChangedAction - The existsChangedAction to set. |
setObservable | public void setObservable(IStatusObservable observable)(Code) | | Parameters: observable - The observable to set. |
setUpdateFlagAction | public void setUpdateFlagAction(IUpdateFlagAction updateFlagAction)(Code) | | Parameters: updateFlagAction - The updateFlagAction to set. |
warningMessage | public void warningMessage(String arg0)(Code) | | See Also: org.columba.ristretto.imap.IMAPListener.warningMessage(java.lang.String) |
|
|