mirror of
https://github.com/moparisthebest/k-9
synced 2025-02-17 07:30:16 -05:00
Javadoc
This commit is contained in:
parent
9c5a11eacf
commit
d4eae05630
@ -82,20 +82,26 @@ public abstract class Folder {
|
|||||||
|
|
||||||
public abstract Message getMessage(String uid) throws MessagingException;
|
public abstract Message getMessage(String uid) throws MessagingException;
|
||||||
|
|
||||||
public abstract Message[] getMessages(int start, int end, Date earliestDate, MessageRetrievalListener listener)
|
/**
|
||||||
throws MessagingException;
|
* Fetch the shells of messages between a range of UIDs and after a given date.
|
||||||
|
* @param start UID sequence start
|
||||||
|
* @param end UID sequence end
|
||||||
|
* @param earliestDate Date to start on
|
||||||
|
* @param listener Listener to notify as we download messages.
|
||||||
|
* @return List of messages
|
||||||
|
* @throws MessagingException
|
||||||
|
*/
|
||||||
|
public abstract Message[] getMessages(int start, int end, Date earliestDate, MessageRetrievalListener listener) throws MessagingException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fetches the given list of messages. The specified listener is notified as
|
* Fetches the given list of messages. The specified listener is notified as
|
||||||
* each fetch completes. Messages are downloaded as (as) lightweight (as
|
* each fetch completes. Messages are downloaded as (as) lightweight (as
|
||||||
* possible) objects to be filled in with later requests. In most cases this
|
* possible) objects to be filled in with later requests. In most cases this
|
||||||
* means that only the UID is downloaded.
|
* means that only the UID is downloaded.
|
||||||
*
|
* @param listener Listener to notify as we download messages.
|
||||||
* @param uids
|
* @return List of messages
|
||||||
* @param listener
|
|
||||||
*/
|
*/
|
||||||
public abstract Message[] getMessages(MessageRetrievalListener listener)
|
public abstract Message[] getMessages(MessageRetrievalListener listener) throws MessagingException;
|
||||||
throws MessagingException;
|
|
||||||
|
|
||||||
public Message[] getMessages(MessageRetrievalListener listener, boolean includeDeleted) throws MessagingException {
|
public Message[] getMessages(MessageRetrievalListener listener, boolean includeDeleted) throws MessagingException {
|
||||||
return getMessages(listener);
|
return getMessages(listener);
|
||||||
|
Loading…
Reference in New Issue
Block a user