Searched defs:msgs (Results 1 - 13 of 13) sorted by relevance

/javamail/mail/src/main/java/javax/mail/event/
H A DMessageCountEvent.java91 transient protected Message[] msgs; field in class:MessageCountEvent
105 * @param msgs The messages added/removed
108 boolean removed, Message[] msgs) {
112 this.msgs = msgs;
145 return msgs;
107 MessageCountEvent(Folder folder, int type, boolean removed, Message[] msgs) argument
/javamail/mail/src/main/java/com/sun/mail/imap/protocol/
H A DMessageSet.java73 * @param msgs the messages
76 public static MessageSet[] createMessageSets(int[] msgs) { argument
80 for (i=0; i < msgs.length; i++) {
82 ms.start = msgs[i];
85 for (j=i+1; j < msgs.length; j++) {
86 if (msgs[j] != msgs[j-1] +1)
89 ms.end = msgs[j-1];
/javamail/mail/src/main/java/com/sun/mail/imap/
H A DUtility.java75 * @param msgs the messages
79 public static MessageSet[] toMessageSet(Message[] msgs, Condition cond) { argument
84 for (int i = 0; i < msgs.length; i++) {
85 msg = (IMAPMessage)msgs[i];
98 for (++i; i < msgs.length; i++) {
100 msg = (IMAPMessage)msgs[i];
141 * @param msgs the messages
146 public static MessageSet[] toMessageSetSorted(Message[] msgs, argument
154 msgs = msgs
172 toUIDSet(Message[] msgs) argument
[all...]
H A DDefaultFolder.java128 public void appendMessages(Message[] msgs) throws MessagingException { argument
H A DMessageCache.java260 * Remove expunged messages in msgs from the array,
262 * All messages in msgs must be IMAPMessage objects
265 * @param msgs the messages
268 public IMAPMessage[] removeExpungedMessages(Message[] msgs) { argument
278 int[] mnum = new int[msgs.length];
279 for (int i = 0; i < msgs.length; i++)
280 mnum[i] = msgs[i].getMessageNumber();
303 * Are there still expunged messsages in msgs to consider,
313 * Just in case there are duplicate entries in the msgs array,
H A DIMAPFolder.java313 * folder.fetch(msgs, fp);
349 * folder.fetch(msgs, fp);
370 * folder.fetch(msgs, fp);
1151 public synchronized void fetch(Message[] msgs, FetchProfile fp) argument
1243 MessageSet[] msgsets = Utility.toMessageSetSorted(msgs, condition);
1366 public synchronized void setFlags(Message[] msgs, Flags flag, boolean value) argument
1371 if (msgs.length == 0) // boundary condition
1377 MessageSet[] ms = Utility.toMessageSetSorted(msgs, null);
1396 Message[] msgs = new Message[end - start + 1];
1399 msgs[
1795 appendMessages(Message[] msgs) argument
1854 appendUIDMessages(Message[] msgs) argument
1916 addMessages(Message[] msgs) argument
1940 copyMessages(Message[] msgs, Folder folder) argument
1965 copyUIDMessages(Message[] msgs, Folder folder) argument
1983 moveMessages(Message[] msgs, Folder folder) argument
2010 moveUIDMessages(Message[] msgs, Folder folder) argument
2021 copymoveMessages(Message[] msgs, Folder folder, boolean move) argument
2086 copymoveUIDMessages(Message[] msgs, Folder folder, boolean move) argument
2214 expunge(Message[] msgs) argument
2324 search(SearchTerm term, Message[] msgs) argument
[all...]
/javamail/mbox/src/main/java/com/sun/mail/mbox/
H A DMessageLoader.java73 public int load(FileDescriptor fd, long offset, List msgs) argument
95 msgs.add(md);
111 msgs.add(md);
H A DMboxFolder.java724 public synchronized void appendMessages(Message[] msgs) argument
735 for (int i = 0; i < msgs.length; i++) {
736 if (msgs[i] instanceof MimeMessage) {
737 writeMboxMessage((MimeMessage)msgs[i], os);
/javamail/gimap/src/main/java/com/sun/mail/gimap/
H A DGmailFolder.java85 * folder.fetch(msgs, fp);
103 * folder.fetch(msgs, fp);
121 * folder.fetch(msgs, fp);
132 * @param msgs the messages
138 public synchronized void setLabels(Message[] msgs, argument
143 if (msgs.length == 0) // boundary condition
151 MessageSet[] ms = Utility.toMessageSetSorted(msgs, null);
178 Message[] msgs = new Message[end - start + 1];
181 msgs[i++] = getMessage(n);
182 setLabels(msgs, label
[all...]
/javamail/demo/src/main/java/internal/
H A Danswer.java184 Message[] msgs = folder.search(new FlagTerm(f, false));
185 folder.fetch(msgs, fp);
188 doUpdate(msgs);
190 msgs = folder.search(new FlagTerm(f, false));
196 for (int i = 0; i < msgs.length; i++) {
197 Message msg = msgs[i];
246 static void doUpdate(Message[] msgs) throws MessagingException { argument
255 for (int i = 0; i < msgs.length; i++) {
256 Message msg = msgs[i];
/javamail/mail/src/main/java/com/sun/mail/pop3/
H A DDefaultFolder.java138 public void appendMessages(Message[] msgs) throws MessagingException { argument
H A DPOP3Folder.java377 public void appendMessages(Message[] msgs) throws MessagingException { argument
403 public synchronized void fetch(Message[] msgs, FetchProfile fp) argument
411 * and fetch UIDs for all messages here, ignoring the msgs
435 for (int i = 0; i < msgs.length; i++) {
437 POP3Message msg = (POP3Message)msgs[i];
/javamail/mail/src/main/java/javax/mail/
H A DFolder.java908 Message[] msgs = new Message[end - start +1];
910 msgs[i - start] = getMessage(i);
911 return msgs;
939 Message[] msgs = new Message[len];
941 msgs[i] = getMessage(msgnums[i]);
942 return msgs;
971 Message[] msgs = new Message[total];
973 msgs[i-1] = getMessage(i);
974 return msgs;
987 * @param msgs arra
992 appendMessages(Message[] msgs) argument
1034 fetch(Message[] msgs, FetchProfile fp) argument
1066 setFlags(Message[] msgs, Flags flag, boolean value) argument
1191 copyMessages(Message[] msgs, Folder folder) argument
1289 search(SearchTerm term, Message[] msgs) argument
1520 notifyMessageAddedListeners(Message[] msgs) argument
1548 notifyMessageRemovedListeners(boolean removed, Message[] msgs) argument
[all...]

Completed in 57 milliseconds