/javamail/mail/src/main/java/javax/mail/ |
H A D | Flags.java | 50 * A System flag is represented by the <code>Flags.Flag</code> 75 * m.setFlag(Flags.Flag.DELETED, true); // set the DELETED flag 78 * if (m.isSet(Flags.Flag.DELETED)) 83 * Flags.Flag[] sf = flags.getSystemFlags(); 85 * if (sf[i] == Flags.Flag.DELETED) 87 * else if (sf[i] == Flags.Flag.SEEN) 119 public static final class Flag { class in class:Flags 124 public static final Flag ANSWERED = new Flag(ANSWERED_BIT); 131 public static final Flag DELETE 178 private Flag(int bit) { method in class:Flags.Flag [all...] |
H A D | Message.java | 538 * @see javax.mail.Flags.Flag 539 * @see javax.mail.Flags.Flag#ANSWERED 540 * @see javax.mail.Flags.Flag#DELETED 541 * @see javax.mail.Flags.Flag#DRAFT 542 * @see javax.mail.Flags.Flag#FLAGGED 543 * @see javax.mail.Flags.Flag#RECENT 544 * @see javax.mail.Flags.Flag#SEEN 547 public boolean isSet(Flags.Flag flag) throws MessagingException { 582 * @param flag Flags.Flag object containing the flag to be set 592 public void setFlag(Flags.Flag fla [all...] |
H A D | Folder.java | 676 * The special flag <code>Flags.Flag.USER </code> indicates that this Folder 745 if (getMessage(i).isSet(Flags.Flag.RECENT)) 791 if (!getMessage(i).isSet(Flags.Flag.SEEN)) 837 if (getMessage(i).isSet(Flags.Flag.DELETED))
|
/javamail/mail/src/main/java/com/sun/mail/imap/protocol/ |
H A D | FLAGS.java | 77 add(Flags.Flag.SEEN); 80 add(Flags.Flag.RECENT); 86 add(Flags.Flag.DELETED); 88 add(Flags.Flag.DRAFT); 93 add(Flags.Flag.ANSWERED); 96 add(Flags.Flag.FLAGGED); 99 add(Flags.Flag.USER);
|
H A D | SearchSequence.java | 291 Flags.Flag[] sf = flags.getSystemFlags(); 297 if (sf[i] == Flags.Flag.DELETED) 299 else if (sf[i] == Flags.Flag.ANSWERED) 301 else if (sf[i] == Flags.Flag.DRAFT) 303 else if (sf[i] == Flags.Flag.FLAGGED) 305 else if (sf[i] == Flags.Flag.RECENT) 307 else if (sf[i] == Flags.Flag.SEEN)
|
H A D | IMAPProtocol.java | 1570 if (f.contains(Flags.Flag.RECENT)) { 1572 f.remove(Flags.Flag.RECENT); // remove RECENT from copy 2379 Flags.Flag[] sf = flags.getSystemFlags(); // get the system flags 2383 Flags.Flag f = sf[i]; 2384 if (f == Flags.Flag.ANSWERED) 2386 else if (f == Flags.Flag.DELETED) 2388 else if (f == Flags.Flag.DRAFT) 2390 else if (f == Flags.Flag.FLAGGED) 2392 else if (f == Flags.Flag.RECENT) 2394 else if (f == Flags.Flag [all...] |
/javamail/mbox/src/main/java/com/sun/mail/mbox/ |
H A D | MboxStore.java | 56 permFlags.add(Flags.Flag.SEEN); 57 permFlags.add(Flags.Flag.RECENT); 58 permFlags.add(Flags.Flag.DELETED); 59 permFlags.add(Flags.Flag.FLAGGED); 60 permFlags.add(Flags.Flag.ANSWERED); 61 permFlags.add(Flags.Flag.DRAFT); 62 permFlags.add(Flags.Flag.USER);
|
H A D | MboxMessage.java | 197 boolean seen = isSet(Flags.Flag.SEEN); 213 setFlag(Flags.Flag.SEEN, false); 263 if (!isSet(Flags.Flag.SEEN)) 264 setFlag(Flags.Flag.SEEN, true); 325 flags = new Flags(Flags.Flag.RECENT); 330 flags.add(Flags.Flag.SEEN); 332 flags.remove(Flags.Flag.RECENT); 336 flags.add(Flags.Flag.DELETED); 340 flags.add(Flags.Flag.DELETED); 342 flags.add(Flags.Flag [all...] |
H A D | MboxFolder.java | 465 if (flags.contains(Flags.Flag.DELETED)) 467 if (flags.contains(Flags.Flag.RECENT)) 503 if (expunge && msg.isSet(Flags.Flag.DELETED)) 506 msg.isSet(Flags.Flag.RECENT)) 507 msg.setFlag(Flags.Flag.RECENT, false); 516 msg.setFlag(Flags.Flag.RECENT, false); 791 if (msg.isSet(Flags.Flag.DELETED)) {
|
/javamail/demo/src/main/java/internal/ |
H A D | answer.java | 176 f.add(Flags.Flag.ANSWERED); 177 f.add(Flags.Flag.FLAGGED); 210 msg.setFlag(Flags.Flag.FLAGGED, true); 213 msg.setFlag(Flags.Flag.ANSWERED, true); 225 msg.setFlag(Flags.Flag.FLAGGED, true); 228 msg.setFlag(Flags.Flag.ANSWERED, true); 266 if (!qm.isSet(Flags.Flag.ANSWERED)) { 269 qm.setFlag(Flags.Flag.ANSWERED, true); 272 msg.setFlag(Flags.Flag.FLAGGED, true); 282 msg.setFlag(Flags.Flag [all...] |
H A D | testidle.java | 461 Flags.Flag[] sf = flags.getSystemFlags(); // get the system flags 466 Flags.Flag f = sf[i]; 467 if (f == Flags.Flag.ANSWERED) 469 else if (f == Flags.Flag.DELETED) 471 else if (f == Flags.Flag.DRAFT) 473 else if (f == Flags.Flag.FLAGGED) 475 else if (f == Flags.Flag.RECENT) 477 else if (f == Flags.Flag.SEEN)
|
/javamail/demo/src/main/java/ |
H A D | search.java | 257 Flags.Flag[] sf = flags.getSystemFlags(); // get the system flags 262 Flags.Flag f = sf[i]; 263 if (f == Flags.Flag.ANSWERED) 265 else if (f == Flags.Flag.DELETED) 267 else if (f == Flags.Flag.DRAFT) 269 else if (f == Flags.Flag.FLAGGED) 271 else if (f == Flags.Flag.RECENT) 273 else if (f == Flags.Flag.SEEN)
|
H A D | uidmsgshow.java | 264 Flags.Flag[] sf = flags.getSystemFlags(); // get the system flags 269 Flags.Flag f = sf[i]; 270 if (f == Flags.Flag.ANSWERED) 272 else if (f == Flags.Flag.DELETED) 274 else if (f == Flags.Flag.DRAFT) 276 else if (f == Flags.Flag.FLAGGED) 278 else if (f == Flags.Flag.RECENT) 280 else if (f == Flags.Flag.SEEN)
|
H A D | msgshow.java | 389 Flags.Flag[] sf = flags.getSystemFlags(); // get the system flags 394 Flags.Flag f = sf[i]; 395 if (f == Flags.Flag.ANSWERED) 397 else if (f == Flags.Flag.DELETED) 399 else if (f == Flags.Flag.DRAFT) 401 else if (f == Flags.Flag.FLAGGED) 403 else if (f == Flags.Flag.RECENT) 405 else if (f == Flags.Flag.SEEN)
|
H A D | mover.java | 154 folder.setFlags(msgs, new Flags(Flags.Flag.DELETED), true); 159 if (!msgs[i].isSet(Flags.Flag.DELETED))
|
/javamail/mail/src/main/java/javax/mail/search/ |
H A D | FlagTerm.java | 55 * absence of the specified Flag. If <code>true</code>, 122 Flags.Flag[] sf = flags.getSystemFlags();
|
/javamail/mail/src/test/java/javax/mail/search/ |
H A D | SearchTermSerializationTest.java | 66 new FlagTerm(new Flags(Flags.Flag.RECENT), true),
|
/javamail/taglib/src/main/java/demo/ |
H A D | ListMessagesTag.java | 92 FlagTerm ft = new FlagTerm(new Flags(Flags.Flag.DELETED), false);
|
/javamail/mail/src/main/java/com/sun/mail/imap/ |
H A D | IMAPInputStream.java | 268 !msg.isSet(Flags.Flag.SEEN)) 269 msg.setFlag(Flags.Flag.SEEN, true);
|
/javamail/mail/src/oldtest/java/javax/mail/internet/ |
H A D | messagecachetest.java | 249 msg.setFlag(Flags.Flag.DELETED, true); 266 msg.setFlag(Flags.Flag.DELETED, true); 284 msg.setFlag(Flags.Flag.DELETED, true); 302 msg.setFlag(Flags.Flag.DELETED, true);
|
/javamail/mbox/src/main/java/com/sun/mail/remote/ |
H A D | RemoteStore.java | 112 remoteInbox.setFlags(msgs, new Flags(Flags.Flag.DELETED), true);
|
/javamail/mail/src/test/java/com/sun/mail/imap/ |
H A D | IMAPMessageNumberOutOfRangeTest.java | 93 new FlagTerm(new Flags(Flags.Flag.RECENT), true));
|
/javamail/ |
H A D | mail.sig | 63 cons public init(javax.mail.Flags$Flag) 65 innr public final static Flag 69 meth public boolean contains(javax.mail.Flags$Flag) 75 meth public javax.mail.Flags$Flag[] getSystemFlags() 77 meth public void add(javax.mail.Flags$Flag) 80 meth public void remove(javax.mail.Flags$Flag) 85 CLSS public final static javax.mail.Flags$Flag 87 fld public final static javax.mail.Flags$Flag ANSWERED 88 fld public final static javax.mail.Flags$Flag DELETED 89 fld public final static javax.mail.Flags$Flag DRAF [all...] |
/javamail/mail/src/main/java/com/sun/mail/pop3/ |
H A D | POP3Folder.java | 261 if (m.isSet(Flags.Flag.DELETED))
|
/javamail/mail/src/main/java/javax/mail/internet/ |
H A D | MimeMessage.java | 1638 * {@link javax.mail.Flags.Flag#ANSWERED ANSWERED} flag is set 1759 private static final Flags answeredFlag = new Flags(Flags.Flag.ANSWERED); 2100 * @see javax.mail.Flags.Flag 2101 * @see javax.mail.Flags.Flag#ANSWERED 2102 * @see javax.mail.Flags.Flag#DELETED 2103 * @see javax.mail.Flags.Flag#DRAFT 2104 * @see javax.mail.Flags.Flag#FLAGGED 2105 * @see javax.mail.Flags.Flag#RECENT 2106 * @see javax.mail.Flags.Flag#SEEN 2108 public synchronized boolean isSet(Flags.Flag fla [all...] |