Searched refs:flags (Results 1 - 19 of 19) sorted by relevance

/javamail/mail/src/main/java/javax/mail/search/
H A DFlagTerm.java56 * then test whether all the specified flags are present, else
57 * test whether all the specified flags are absent.
64 * Flags object containing the flags to test.
68 private Flags flags; field in class:FlagTerm
75 * @param flags Flags object containing the flags to check for
78 public FlagTerm(Flags flags, boolean set) { argument
79 this.flags = flags;
86 * @return the flags
[all...]
/javamail/mail/src/main/java/com/sun/mail/imap/protocol/
H A DFLAGS.java70 String[] flags = r.readSimpleList();
71 if (flags != null) { // if not empty flaglist
72 for (int i = 0; i < flags.length; i++) {
73 String s = flags[i];
H A DSearchSequence.java290 Flags flags = term.getFlags();
291 Flags.Flag[] sf = flags.getSystemFlags();
292 String[] uf = flags.getUserFlags();
H A DIMAPProtocol.java744 int flags = PropUtil.getIntProperty(props,
745 "mail." + name + ".auth.ntlm.flags", 0);
775 s = ntlm.generateType1Msg(flags);
1896 Flags flags = null;
1907 if ((flags = fr.getItem(FLAGS.class)) != null) {
1916 return flags;
2054 * Also, prefetch the flags for the returned messages.
2329 public void storeFlags(MessageSet[] msgsets, Flags flags, boolean set) argument
2331 storeFlags(MessageSet.toString(msgsets), flags, set);
2334 public void storeFlags(int start, int end, Flags flags, boolea argument
2348 storeFlags(int msg, Flags flags, boolean set) argument
2353 storeFlags(String msgset, Flags flags, boolean set) argument
2375 createFlagList(Flags flags) argument
[all...]
/javamail/mbox/src/main/java/com/sun/mail/mbox/
H A DMboxMessage.java60 // original msg flags, used by MboxFolder to detect modification
219 * Set the specified flags on this message to the specified value.
221 * @param flags the flags to be set
226 Flags oldFlags = (Flags)flags.clone();
228 if (!flags.equals(oldFlags)) {
311 * Set the flags for this message based on the Status,
316 * Unset flags represented as "$".
317 * User flags not supported.
321 * Unset flags no
[all...]
H A DMboxFolder.java462 Flags flags = msg.getFlags();
463 if (msg.isModified() || !msg.origFlags.equals(flags))
465 if (flags.contains(Flags.Flag.DELETED))
467 if (flags.contains(Flags.Flag.RECENT))
608 // XXX - modify the message to preserve the flags in headers
/javamail/mail/src/main/java/javax/mail/
H A DFlags.java47 * The Flags class represents the set of flags on a Message. Flags
48 * are composed of predefined system flags, and user defined flags. <p>
52 * User flags are case-independent. <p>
54 * A set of standard system flags are predefined. Most folder
55 * implementations are expected to support these flags. Some
56 * implementations may also support arbitrary user-defined flags. The
58 * object that holds all the flags that are supported by that folder
71 * flags for a message.
81 * // Examine ALL system flags fo
195 Flags(Flags flags) argument
[all...]
/javamail/mail/src/main/java/com/sun/mail/util/logging/
H A DCompactFormatter.java759 public void formatTo(java.util.Formatter formatter, int flags, argument
764 if ((flags & java.util.FormattableFlags.UPPERCASE)
770 if ((flags & java.util.FormattableFlags.ALTERNATE)
797 l = pad(flags, l, half);
801 r = pad(flags, r, half);
816 * @param flags the formatter flags.
821 private String pad(int flags, String s, int length) { argument
824 if ((flags & java.util.FormattableFlags.LEFT_JUSTIFY)
/javamail/mail/src/main/java/com/sun/mail/imap/
H A DIMAPMessage.java72 * The IMAPMessage lock protects the message flags, sort of.
141 flags = null;
1026 * Set/Unset the given flags in this message.
1088 flags = null;
1155 return true; // no flags
1203 flags = (Flags)item;
1540 if (flags != null)
1552 flags = p.fetchFlags(getSequenceNumber());
1553 // make sure flags is always set, even if server is broken
1554 if (flags
1638 _setFlags(Flags flags) argument
[all...]
H A DIMAPFolder.java184 protected Flags availableFlags; // available flags
185 protected Flags permanentFlags; // permanent flags
517 * Check whether the given flags are supported by this server,
518 * and also verify that the folder allows setting flags.
520 private void checkFlags(Flags flags) throws MessagingException { argument
524 "Cannot change flags on READ_ONLY folder: " + fullName
527 if (!availableFlags.contains(flags))
529 "These flags are not supported by this implementation"
1364 * Set the specified flags for the given array of messages.
1369 checkFlags(flag); // validate flags
[all...]
/javamail/mail/src/main/java/javax/mail/internet/
H A DMimeMessage.java135 protected Flags flags; field in class:MimeMessage
185 * object. The <code>flags</code> field is set to an empty Flags
194 flags = new Flags(); // empty flags object
214 flags = new Flags(); // empty Flags object
234 flags = source.getFlags();
235 if (flags == null) // make sure flags is always set
236 flags = new Flags();
270 flags
[all...]
/javamail/demo/src/main/java/internal/
H A Dtestidle.java459 Flags flags = m.getFlags();
461 Flags.Flag[] sf = flags.getSystemFlags(); // get the system flags
488 String[] uf = flags.getUserFlags(); // get the user flag strings
/javamail/demo/src/main/java/
H A Dsearch.java255 Flags flags = m.getFlags();
257 Flags.Flag[] sf = flags.getSystemFlags(); // get the system flags
284 String[] uf = flags.getUserFlags(); // get the user flag strings
H A Duidmsgshow.java262 Flags flags = m.getFlags();
264 Flags.Flag[] sf = flags.getSystemFlags(); // get the system flags
291 String[] uf = flags.getUserFlags(); // get the user flag strings
H A Dmsgshow.java387 Flags flags = m.getFlags();
389 Flags.Flag[] sf = flags.getSystemFlags(); // get the system flags
416 String[] uf = flags.getUserFlags(); // get the user flag strings
/javamail/mail/src/main/java/com/sun/mail/pop3/
H A DPOP3Message.java86 * Set the specified flags on this message to the specified value.
88 * @param newFlags the flags to be set
93 Flags oldFlags = (Flags)flags.clone();
95 if (!flags.equals(oldFlags))
/javamail/mail/src/main/java/com/sun/mail/auth/
H A DNtlm.java157 public String generateType1Msg(int flags) { argument
158 // XXX - should set "flags" in generated message
/javamail/mail/src/main/java/com/sun/mail/smtp/
H A DSMTPTransport.java1046 private int flags; field in class:SMTPTransport.NtlmAuthenticator
1057 flags = PropUtil.getIntProperty(
1059 "mail." + name + ".auth.ntlm.flags", 0);
1061 String type1 = ntlm.generateType1Msg(flags);
/javamail/
H A Dmail.sig904 fld protected javax.mail.Flags flags
1186 fld protected javax.mail.Flags flags

Completed in 146 milliseconds