MCPcopy Create free account
hub / github.com/M66B/FairEmail / getMessages

Method getMessages

app/src/main/java/javax/mail/Folder.java:905–911  ·  view source on GitHub ↗

Get the Message objects for message numbers ranging from start through end, both start and end inclusive. Note that message numbers start at 1, not 0. Message objects are light-weight references to the actual message that get filled up on demand. Hence Folder implementations are expected to pro

(int start, int end)

Source from the content-addressed store, hash-verified

903 * @exception MessagingException for other failures
904 */
905 public synchronized Message[] getMessages(int start, int end)
906 throws MessagingException {
907 Message[] msgs = new Message[end - start +1];
908 for (int i = start; i <= end; i++)
909 msgs[i - start] = getMessage(i);
910 return msgs;
911 }
912
913 /**
914 * Get the Message objects for message numbers specified in

Callers 3

onSendMethod · 0.95
onExecuteMethod · 0.95
searchMethod · 0.95

Calls 3

getMessageMethod · 0.95
isOpenMethod · 0.95
getMessageCountMethod · 0.95

Tested by

no test coverage detected