Searched refs:uids (Results 1 - 9 of 9) sorted by relevance

/javamail/mail/src/main/java/com/sun/mail/imap/
H A DMessageVanishedEvent.java60 private long[] uids; field in class:MessageVanishedEvent
71 * @param uids the UIDs for the vanished messages
73 public MessageVanishedEvent(Folder folder, long[] uids) { argument
75 this.uids = uids;
84 return uids;
H A DResyncData.java64 private UIDSet[] uids = null; field in class:ResyncData
84 this.uids = null;
100 this.uids = new UIDSet[] { new UIDSet(uidFirst, uidLast) };
109 * @param uids the UID values
111 public ResyncData(long uidvalidity, long modseq, long[] uids) { argument
114 this.uids = UIDSet.createUIDSets(uids);
140 return uids;
H A DIMAPFolder.java1114 // "VANISHED" SP ["(EARLIER)"] SP known-uids
1120 String uids = ir.readAtom();
1121 UIDSet[] uidset = UIDSet.parseUIDSets(uids);
1865 AppendUID[] uids = new AppendUID[msgs.length];
1892 uids[i] = auid;
1894 return uids;
1920 AppendUID[] uids = appendUIDMessages(msgs);
1921 for (int i = 0; i < uids.length; i++) {
1922 AppendUID auid = uids[i];
2594 * <code>uids
2598 getMessagesByUID(long[] uids) argument
2688 createMessagesForUIDs(long[] uids) argument
[all...]
/javamail/mail/src/main/java/com/sun/mail/imap/protocol/
H A DUIDSet.java75 * @param uids the UIDs
78 public static UIDSet[] createUIDSets(long[] uids) { argument
79 if (uids == null)
84 for (i=0; i < uids.length; i++) {
86 ms.start = uids[i];
89 for (j=i+1; j < uids.length; j++) {
90 if (uids[j] != uids[j-1] +1)
93 ms.end = uids[j-1];
104 * @param uids UI
108 parseUIDSets(String uids) argument
[all...]
H A DIMAPProtocol.java1254 UIDSet[] uids = Utility.getResyncUIDSet(rd);
1255 if (uids != null)
1256 args.writeString(UIDSet.toString(uids));
2033 * @param uids the UIDs
2037 public void fetchSequenceNumbers(long[] uids) throws ProtocolException { argument
2039 for (int i = 0; i < uids.length; i++) {
2042 sb.append(String.valueOf(uids[i]));
/javamail/mail/src/test/java/com/sun/mail/imap/protocol/
H A DUIDSetTest.java69 public String uids; field in class:UIDSetTest.TestData
156 t.uids = null;
158 t.uids = "";
160 t.uids = tok;
175 t.maxuids = t.uids;
180 List<Long> uids = new ArrayList<Long>();
191 uids.add(Long.valueOf(tok));
197 if (uids.size() > 0) {
198 t.expect = new long[uids.size()];
200 for (Long l : uids)
[all...]
/javamail/mail/src/main/java/javax/mail/
H A DUIDFolder.java175 * @param uids array of UIDs
179 public Message[] getMessagesByUID(long[] uids) argument
/javamail/mail/src/main/java/com/sun/mail/pop3/
H A DPOP3Folder.java416 String[] uids = new String[message_cache.length];
418 if (!port.uidl(uids))
426 for (int i = 0; i < uids.length; i++) {
427 if (uids[i] == null)
430 m.uid = uids[i];
H A DProtocol.java610 * The UID for msg #N is returned in uids[N-1].
612 synchronized boolean uidl(String[] uids) throws IOException { argument
613 Response r = multilineCommand("UIDL", 15 * uids.length);
623 if (n > 0 && n <= uids.length)
624 uids[n - 1] = line.substring(i + 1);

Completed in 538 milliseconds