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)
| 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 |
no test coverage detected