Searched refs:set (Results 1 - 25 of 31) sorted by relevance

12

/javamail/mail/src/main/java/javax/mail/search/
H A DFlagTerm.java61 private boolean set; field in class:FlagTerm
76 * @param set the flag setting to check for
78 public FlagTerm(Flags flags, boolean set) { argument
80 this.set = set;
93 * Return true if testing whether the flags are set.
95 * @return true if testing whether the flags are set
98 return set;
111 if (set) { // This is easy
119 // object are NOT set i
[all...]
/javamail/mail/src/main/java/com/sun/mail/imap/
H A DUtility.java94 MessageSet set = new MessageSet();
95 set.start = current;
120 set.end = current;
121 v.add(set);
184 UIDSet set = new UIDSet();
185 set.start = current;
206 set.end = current;
207 v.add(set);
H A DIMAPNestedMessage.java145 public synchronized void setFlags(Flags flag, boolean set) argument
147 // Cannot set FLAGS on a nested IMAP message
149 "Cannot set flags on this nested message");
H A DIMAPMessage.java271 protected void setExpunged(boolean set) { argument
272 super.setExpunged(set);
489 // if bodyLoaded, size is already set
897 // if we get this far without "is" being set, something has gone
1016 * Test if the given Flags are set in this message.
1028 public synchronized void setFlags(Flags flag, boolean set) argument
1035 p.storeFlags(getSequenceNumber(), flag, set);
1220 uid = u.uid; // set uid
1269 * a new header was added to the set requested)
1553 // make sure flags is always set, eve
[all...]
/javamail/gimap/src/main/java/com/sun/mail/gimap/
H A DGmailFolder.java134 * @param set true to add, false to remove
139 String[] labels, boolean set)
155 p.storeLabels(ms, labels, set);
170 * @param set true to add, false to remove
175 String[] labels, boolean set)
182 setLabels(msgs, labels, set);
190 * @param set true to add, false to remove
195 String[] labels, boolean set)
201 setLabels(msgs, labels, set);
138 setLabels(Message[] msgs, String[] labels, boolean set) argument
174 setLabels(int start, int end, String[] labels, boolean set) argument
194 setLabels(int[] msgnums, String[] labels, boolean set) argument
H A DGmailMessage.java127 * @param set true to add labels, false to remove
131 public synchronized void setLabels(String[] labels, boolean set) argument
140 p.storeLabels(getSequenceNumber(), labels, set);
/javamail/gimap/src/main/java/com/sun/mail/gimap/protocol/
H A DGmailProtocol.java141 * @param set true to set, false to clear
145 public void storeLabels(MessageSet[] msgsets, String[] labels, boolean set) argument
147 storeLabels(MessageSet.toString(msgsets), labels, set);
156 * @param set true to set, false to clear
160 public void storeLabels(int start, int end, String[] labels, boolean set) argument
163 labels, set);
171 * @param set true to set, fals
175 storeLabels(int msg, String[] labels, boolean set) argument
180 storeLabels(String msgset, String[] labels, boolean set) argument
[all...]
/javamail/mail/src/test/java/javax/mail/internet/
H A DParameterListTests.java82 * Test that a long parameter that's set programmatically is split
90 pl.set("p", p0 + p1);
/javamail/mail/src/main/java/javax/mail/
H A DMessage.java51 * Message implements the Part interface. Message contains a set of
53 * set of flags that describe its state within the folder.<p>
532 * argument is set in this message. <p>
560 * @param flag Flags object containing the flags to be set
561 * @param set the value to be set
570 public abstract void setFlags(Flags flag, boolean set) argument
582 * @param flag Flags.Flag object containing the flag to be set
583 * @param set the value to be set
592 setFlag(Flags.Flag flag, boolean set) argument
[all...]
H A DURLName.java337 * Returns -1 if the port is not set.
556 dontNeedEncoding.set(i);
559 dontNeedEncoding.set(i);
562 dontNeedEncoding.set(i);
565 dontNeedEncoding.set(' ');
566 dontNeedEncoding.set('-');
567 dontNeedEncoding.set('_');
568 dontNeedEncoding.set('.');
569 dontNeedEncoding.set('*');
/javamail/mail/src/main/java/com/sun/mail/imap/protocol/
H A DSearchSequence.java212 term = (OrTerm)t; // set 'term' to the new jumbo OrTerm we
286 boolean set = term.getTestSet();
298 result.writeAtom(set ? "DELETED": "UNDELETED");
300 result.writeAtom(set ? "ANSWERED": "UNANSWERED");
302 result.writeAtom(set ? "DRAFT": "UNDRAFT");
304 result.writeAtom(set ? "FLAGGED": "UNFLAGGED");
306 result.writeAtom(set ? "RECENT": "OLD");
308 result.writeAtom(set ? "SEEN": "UNSEEN");
312 result.writeAtom(set ? "KEYWORD" : "UNKEYWORD");
H A DIMAPProtocol.java85 // WARNING: authenticated may be set to true in superclass
1568 if (f != null) { // set Flags in appended message
1569 // can't set the \Recent flag in APPEND
1587 if (d != null) // set INTERNALDATE in appended message
1661 * @param set UIDs to expunge
1665 public void uidexpunge(UIDSet[] set) throws ProtocolException { argument
1668 simpleCommand("UID EXPUNGE " + UIDSet.toString(set), null);
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, boolean set) argument
2348 storeFlags(int msg, Flags flags, boolean set) argument
2353 storeFlags(String msgset, Flags flags, boolean set) argument
[all...]
H A DBODYSTRUCTURE.java424 list.set(name, value);
/javamail/mail/src/main/java/javax/mail/internet/
H A DContentDisposition.java159 list.set(name, value);
H A DContentType.java200 list.set(name, value);
H A DParameterList.java64 * <code>mail.mime.parameters.strict</code>, which if set to false
68 * If set to true (the default), parameter values are required to conform
95 * A set of names for multi-segment parameters that we
98 * but such names can also be set via the set method when the
100 * (A special call to the set method tells us when the IMAP provider
166 * An encoded value that is set explicitly is stored
169 * was set.
331 * the {@link #set} method. After all these segments are added
343 * the set metho
560 public void set(String name, String value) { method in class:ParameterList
585 public void set(String name, String value, String charset) { method in class:ParameterList
[all...]
/javamail/demo/src/main/java/
H A Dsearch.java171 c.set(Calendar.HOUR, 0);
172 c.set(Calendar.MINUTE, 0);
173 c.set(Calendar.SECOND, 0);
174 c.set(Calendar.MILLISECOND, 0);
175 c.set(Calendar.AM_PM, Calendar.AM);
/javamail/demo/src/main/java/internal/
H A Dmsgsperweek.java221 cal.set(startYr, 1, 1);
222 cal.set(Calendar.WEEK_OF_YEAR, startWk);
223 cal.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY);
H A Dtestidle.java231 stop.set(true);
/javamail/mail/src/test/java/com/sun/mail/util/logging/
H A DAbstractLogging.java123 * 1970-01-01T00:00:00Z. Any nanosecond information is set to zero. This
150 Method set = LogRecord.class.getMethod("setInstant", k);
151 set.invoke(record, instant.invoke(null, epochSecond, nanoAdjustment));
H A DLogManagerPropertiesTest.java140 f.set(null, null);
160 f.set(null, lm);
245 f.set(null, parent);
267 f.set(null, lm);
1199 PENDING.set(t);
1245 //walk the entry set so we don't preload a key from the manager.
/javamail/android/activation/src/main/java/javax/activation/
H A DMimeType.java225 parameters.set(name, value);
H A DMimeTypeParameterList.java230 public void set(String name, String value) { method in class:MimeTypeParameterList
/javamail/mbox/src/main/java/com/sun/mail/mbox/
H A DMboxMessage.java196 // writeTo will set the SEEN flag, remember the original state
221 * @param flags the flags to be set
222 * @param set the value to be set
224 public void setFlags(Flags newFlags, boolean set) argument
227 super.setFlags(newFlags, set);
284 return super.getDataHandler(); // will set "dh"
334 s = getHeader("X-Dt-Delete-Time", null); // set by dtmail
337 s = getHeader("X-Status", null); // set by IMAP server
348 s = getHeader("X-Keywords", null); // set b
[all...]
/javamail/mail/src/main/java/com/sun/mail/pop3/
H A DPOP3Message.java88 * @param newFlags the flags to be set
89 * @param set the value to be set
91 public synchronized void setFlags(Flags newFlags, boolean set) argument
94 super.setFlags(newFlags, set);
125 * loading the headers, it will set the size.
276 * cache or if the "mail.pop3.keepmessagecontent" prop is set.
561 * is set to "true", and ignoreList is null, and the message hasn't

Completed in 134 milliseconds

12