/javamail/mail/src/test/java/javax/mail/internet/ |
H A D | EncodeFileName.java | 80 assertTrue(h.contains("name=")); 81 assertTrue(h.contains(expected1)); 82 assertTrue(h.contains(expected2)); 83 assertTrue(h.contains(expected3)); 84 assertTrue(h.contains(expected4)); 86 assertTrue(h.contains("filename=")); 87 assertTrue(h.contains(expected1)); 88 assertTrue(h.contains(expected2)); 89 assertTrue(h.contains(expected3)); 90 assertTrue(h.contains(expected [all...] |
H A D | NoEncodeFileName.java | 99 assertTrue(h.contains("name*=")); 100 assertTrue(h.contains(expected)); 102 assertTrue(h.contains("filename*=")); 103 assertTrue(h.contains(expected));
|
H A D | MimeUtilityTest.java | 99 encodings.contains(MimeUtility.getEncoding(fds))); 101 encodings.contains(MimeUtility.getEncoding(new DataHandler(fds)))); 125 assertTrue(encodings.contains(MimeUtility.getEncoding(bads))); 126 assertTrue(encodings.contains( 130 assertTrue(encodings.contains(MimeUtility.getEncoding(bads))); 131 assertTrue(encodings.contains( 135 assertTrue(encodings.contains(MimeUtility.getEncoding(bads))); 136 assertTrue(encodings.contains(
|
/javamail/mail/src/main/java/javax/mail/ |
H A D | FetchProfile.java | 200 * Returns true if the fetch profile contains the given special item. 203 * @return true if the fetch profile contains the given special item 205 public boolean contains(Item item) { method in class:FetchProfile 206 return specials != null && specials.contains(item); 210 * Returns true if the fetch profile contains the given header name. 213 * @return true if the fetch profile contains the given header name 215 public boolean contains(String headerName) { method in class:FetchProfile 216 return headers != null && headers.contains(headerName);
|
H A D | Flags.java | 172 * <code>folder.getPermanentFlags().contains(Flags.Flag.USER)</code>. 306 public boolean contains(Flag flag) { method in class:Flags 316 public boolean contains(String flag) { method in class:Flags 331 public boolean contains(Flags f) { method in class:Flags 520 if (f1.contains(Flags.Flag.DELETED)) 525 if (f1.contains(Flags.Flag.SEEN)) 530 if (f1.contains(Flags.Flag.RECENT)) 535 if (f1.contains("MyFlag")) 540 if (f2.contains(Flags.Flag.ANSWERED)) 558 if (f1.contains(f [all...] |
H A D | Message.java | 51 * Message implements the Part interface. Message contains a set of 143 * Returns the "From" attribute. The "From" attribute contains 152 * this attribute is present, but contains no addresses. 289 * empty array if the header is present, but contains no addresses. 308 * if any recipient header is present, but contains no addresses. 430 * is present, but contains no addresses. 548 return getFlags().contains(flag);
|
/javamail/mail/src/main/java/javax/mail/search/ |
H A D | FlagTerm.java | 112 if (f.contains(flags)) 126 if (f.contains(sf[i])) 135 if (f.contains(s[i]))
|
/javamail/mbox/src/main/java/com/sun/mail/mbox/ |
H A D | MboxMessage.java | 113 * Returns the "From" attribute. The "From" attribute contains 366 if (flags.contains(Flags.Flag.SEEN)) 368 if (!flags.contains(Flags.Flag.RECENT)) 380 if (flags.contains(Flags.Flag.DELETED)) 384 if (flags.contains(Flags.Flag.FLAGGED)) 388 if (flags.contains(Flags.Flag.ANSWERED)) 392 if (flags.contains(Flags.Flag.DRAFT)) 409 if (flags.contains(Flags.Flag.DELETED)) {
|
H A D | MboxFolder.java | 82 * is null; otherwise the MboxMessage object contains the metadata. 465 if (flags.contains(Flags.Flag.DELETED)) 467 if (flags.contains(Flags.Flag.RECENT))
|
/javamail/mail/src/test/java/com/sun/mail/util/logging/ |
H A D | LogManagerPropertiesTest.java | 302 assertFalse(contains(mp, key, null)); 304 assertTrue(contains(mp, key, "value")); //ensure copy worked. 528 assertFalse(contains(mp, key, null)); 530 assertTrue(contains(mp, key, "value")); //ensure copy worked. 554 assertFalse(contains(mp, key, null)); 556 assertTrue(contains(mp, key, "value")); //ensure copy worked. 581 assertFalse(contains(mp, key, null)); 583 assertTrue(contains(mp, key, "value")); //ensure copy worked. 619 assertFalse(contains(mp, key, null)); 621 assertTrue(contains(m 1240 private boolean contains(Properties props, String key, String value) { method in class:LogManagerPropertiesTest [all...] |
H A D | CompactFormatterTest.java | 219 assertTrue(result, result.contains("|"));
220 assertTrue(result, result.contains(Throwable.class.getSimpleName()));
221 assertTrue(result, result.contains(CompactFormatterTest.class.getSimpleName()));
222 assertTrue(result, result.contains("testFormatWithMessageAndThrown"));
223 assertTrue(result, result.contains(String.valueOf(
239 assertTrue(result, result.contains(record.getThrown().getMessage()));
282 assertTrue(result, result.contains("|"));
283 assertTrue(e.toString(), e.toString().contains(Exception.class.getPackage().getName()));
284 assertTrue(e.toString(), e.toString().contains(IOException.class.getPackage().getName()));
292 assertTrue(result, result.contains(recor [all...] |
H A D | DurationFilterTest.java | 564 assertTrue(s.contains("records="));
565 assertTrue(s.contains("duration="));
566 assertTrue(s.contains("idle="));
567 assertTrue(s.contains("loggable="));
|
H A D | CollectorFormatterTest.java | 721 assertTrue(result, result.contains("..."));
722 assertTrue(result, result.contains("1"));
723 assertTrue(result, result.contains("more"));
|
/javamail/mail/src/main/java/com/sun/mail/imap/ |
H A D | Rights.java | 63 * if (rights.contains(Rights.Right.WRITE)) 249 public boolean contains(Right right) { method in class:Rights 261 public boolean contains(Rights rights) { method in class:Rights 394 if (f1.contains(Rights.Right.READ)) 399 if (f1.contains(Rights.Right.WRITE)) 404 if (f1.contains(Rights.Right.CREATE)) 409 if (f1.contains(Rights.Right.DELETE)) 414 if (f2.contains(Rights.Right.WRITE)) 427 if (f1.contains(f2)) // this should be true 432 if (!f2.contains(f [all...] |
H A D | IMAPMessage.java | 1122 if (fp.contains(FetchProfile.Item.ENVELOPE)) 1124 if (fp.contains(FetchProfile.Item.FLAGS)) 1126 if (fp.contains(FetchProfile.Item.CONTENT_INFO)) 1128 if (fp.contains(FetchProfile.Item.SIZE)) 1130 if (fp.contains(UIDFolder.FetchProfileItem.UID)) 1132 if (fp.contains(IMAPFolder.FetchProfileItem.HEADERS)) 1134 if (fp.contains(IMAPFolder.FetchProfileItem.SIZE)) 1136 if (fp.contains(IMAPFolder.FetchProfileItem.MESSAGE)) 1138 if (fp.contains(IMAPFolder.FetchProfileItem.INTERNALDATE)) 1142 if (fp.contains(fitem [all...] |
H A D | IMAPFolder.java | 527 if (!availableFlags.contains(flags)) 615 * If the name contains wildcards, more than one entry may be 620 // if the name contains a wildcard, there might be more than one 1167 if (fp.contains(FetchProfile.Item.ENVELOPE)) { 1171 if (fp.contains(FetchProfile.Item.FLAGS)) { 1175 if (fp.contains(FetchProfile.Item.CONTENT_INFO)) { 1179 if (fp.contains(UIDFolder.FetchProfileItem.UID)) { 1183 if (fp.contains(IMAPFolder.FetchProfileItem.HEADERS)) { 1192 if (fp.contains(IMAPFolder.FetchProfileItem.MESSAGE)) { 1200 if (fp.contains(FetchProfil [all...] |
/javamail/logging/src/main/java/ |
H A D | MailHandlerDemo.java | 75 if (l.contains("/?") || l.contains("-?") || l.contains("-help")) {
|
/javamail/mail/src/main/java/com/sun/mail/util/ |
H A D | MailSSLSocketFactory.java | 245 return Arrays.asList(trustedHosts).contains(server); // ignore case?
|
/javamail/mail/src/main/java/com/sun/mail/util/logging/ |
H A D | SeverityComparator.java | 314 if (c.getName().contains("Interrupt")) {
|
H A D | CompactFormatter.java | 486 //If the class name contains the simple file name then remove file name.
573 || cn.contains("Util") || cn.endsWith("Throwables");
|
/javamail/mail/src/test/java/com/sun/mail/imap/ |
H A D | IMAPFetchProfileTest.java | 218 return saw.contains(item);
|
/javamail/mail/src/main/java/com/sun/mail/pop3/ |
H A D | POP3Folder.java | 396 * If the FetchProfile contains <code>UIDFolder.FetchProfileItem.UID</code>, 399 * If the FetchProfile contains <code>FetchProfile.Item.ENVELOPE</code>, 407 fp.contains(UIDFolder.FetchProfileItem.UID)) { 434 if (fp.contains(FetchProfile.Item.ENVELOPE)) {
|
/javamail/android/activation/src/main/java/javax/activation/ |
H A D | MailcapCommandMap.java | 630 if (!mtList.contains(ts[j])) 668 if (!cmdList.contains(cmds[j]))
|
/javamail/android/activation/src/main/java/com/sun/activation/registries/ |
H A D | MailcapFile.java | 488 if (!ccv.contains(clazz))
|
/javamail/mail/src/main/java/com/sun/mail/imap/protocol/ |
H A D | IMAPProtocol.java | 237 * If the response contains a CAPABILITY response code, extract 966 if (authmechs.contains(allowed[i])) // XXX - case must match 1292 return enabled.contains(cap.toUpperCase(Locale.ENGLISH)); 1570 if (f.contains(Flags.Flag.RECENT)) { 1579 * quoted since it contains "illegal" characters. So I 1607 * If the response contains an APPENDUID response code, extract 2296 * If the response contains a COPYUID response code, extract
|