Searched refs:names (Results 1 - 12 of 12) sorted by relevance

/javamail/mail/src/main/java/javax/mail/internet/
H A DMimePart.java119 * @param names the headers to return
124 public Enumeration getMatchingHeaderLines(String[] names) argument
132 * @param names the headers to not return
137 public Enumeration getNonMatchingHeaderLines(String[] names) argument
H A DInternetHeaders.java172 private String names[]; // names to match, or not field in class:InternetHeaders.MatchEnum
185 names = n;
233 // if no names to match against, return appropriately
234 if (names == null)
237 // check whether this header matches any of the names
238 for (int i = 0; i < names.length; i++) {
239 if (names[i].equalsIgnoreCase(h.getName())) {
597 * @param names the headers to return
601 public Enumeration getMatchingHeaders(String[] names) { argument
612 getNonMatchingHeaders(String[] names) argument
661 getMatchingHeaderLines(String[] names) argument
672 getNonMatchingHeaderLines(String[] names) argument
[all...]
H A DMimeBodyPart.java1046 public Enumeration getMatchingHeaders(String[] names) argument
1048 return headers.getMatchingHeaders(names);
1056 public Enumeration getNonMatchingHeaders(String[] names) argument
1058 return headers.getNonMatchingHeaders(names);
1084 public Enumeration getMatchingHeaderLines(String[] names) argument
1086 return headers.getMatchingHeaderLines(names);
1095 public Enumeration getNonMatchingHeaderLines(String[] names) argument
1097 return headers.getNonMatchingHeaderLines(names);
H A DMimeMessage.java1683 // add any alternate names I'm known by
2005 public Enumeration getMatchingHeaders(String[] names) argument
2007 return headers.getMatchingHeaders(names);
2018 public Enumeration getNonMatchingHeaders(String[] names) argument
2020 return headers.getNonMatchingHeaders(names);
2056 public Enumeration getMatchingHeaderLines(String[] names) argument
2058 return headers.getMatchingHeaderLines(names);
2069 public Enumeration getNonMatchingHeaderLines(String[] names) argument
2071 return headers.getNonMatchingHeaderLines(names);
/javamail/mail/src/main/java/com/sun/mail/imap/
H A DIMAPBodyPart.java346 public Enumeration<Header> getMatchingHeaders(String[] names) argument
349 return super.getMatchingHeaders(names);
353 public Enumeration<Header> getNonMatchingHeaders(String[] names) argument
356 return super.getNonMatchingHeaders(names);
370 public Enumeration<String> getMatchingHeaderLines(String[] names) argument
373 return super.getMatchingHeaderLines(names);
377 public Enumeration<String> getNonMatchingHeaderLines(String[] names) argument
380 return super.getNonMatchingHeaderLines(names);
H A DIMAPMessage.java119 /* Hashtable of names of headers we've loaded from the server.
122 * need this table of names to avoid multiple attempts at loading
952 public Enumeration<Header> getMatchingHeaders(String[] names) argument
956 return super.getMatchingHeaders(names);
963 public Enumeration<Header> getNonMatchingHeaders(String[] names) argument
967 return super.getNonMatchingHeaders(names);
988 public Enumeration<String> getMatchingHeaderLines(String[] names) argument
992 return super.getMatchingHeaderLines(names);
999 public Enumeration<String> getNonMatchingHeaderLines(String[] names) argument
1003 return super.getNonMatchingHeaderLines(names);
[all...]
/javamail/mail/src/main/java/com/sun/mail/pop3/
H A DPOP3Message.java467 public Enumeration<Header> getMatchingHeaders(String[] names) argument
471 return headers.getMatchingHeaders(names);
481 public Enumeration<Header> getNonMatchingHeaders(String[] names) argument
485 return headers.getNonMatchingHeaders(names);
524 public Enumeration<String> getMatchingHeaderLines(String[] names) argument
528 return headers.getMatchingHeaderLines(names);
539 public Enumeration<String> getNonMatchingHeaderLines(String[] names) argument
543 return headers.getNonMatchingHeaderLines(names);
/javamail/mail/src/main/java/com/sun/mail/util/logging/
H A DMailHandler.java118 * separated list of <tt>Filter</tt> class names used to create each attachment.
124 * separated list of <tt>Formatter</tt> class names used to create each
127 * <li>&lt;handler-name&gt;.attachment.names a comma separated
128 * list of names or <tt>Formatter</tt> class names of each attachment. The
129 * attachment file names must not contain any line breaks.
1397 * If the attachment names were set using explicit names then
1398 * the names can be returned by calling <tt>toString</tt> on each
1412 * ensure that the attachment file names d
1425 setAttachmentNames(final String... names) argument
[all...]
H A DLogManagerProperties.java66 * from string class names. This is to support initial setup of objects such as
140 * Caches the read only reflection class names string array. Declared
641 String[] names = REFLECT_NAMES;
642 if (names == null) { //Benign data race.
643 REFLECT_NAMES = names = reflectionClassNames();
646 for (String rf : names) { //The set of names is small.
657 * Determines all of the reflection class names used to invoke methods.
660 * the standard class names and the implementation class names
[all...]
/javamail/mail/src/main/java/com/sun/mail/util/
H A DSocketFetcher.java652 * Do any of the names in the cert match the server name?
703 * XXX - only checks DNS names, should also handle
706 Collection<List<?>> names = cert.getSubjectAlternativeNames();
707 if (names != null) {
709 for (Iterator<List<?>> it = names.iterator(); it.hasNext(); ) {
/javamail/mail/src/test/java/com/sun/mail/util/logging/
H A DLogManagerPropertiesTest.java379 private void testIsStaticUtilityClass(String[] names, boolean complement) throws Exception { argument
380 assertFalse(names.length == 0);
383 for (String name : names) {
387 for (String name : names) {
H A DMailHandlerTest.java1135 props.put(p.concat(".attachment.names"), "att.txt");
1195 props.put(p.concat(".attachment.names"), "att.txt, extra.txt");
1214 props.put(p.concat(".attachment.names"), "att.txt, next.txt, extra.txt");
1227 //names are different but equal encodings.
3776 Formatter[] names;
3781 names = instance.getAttachmentNames();
3782 assertNotNull(names);
3821 names = instance.getAttachmentNames();
3823 assertEquals(names[0].toString(), String.valueOf(formatters[0]));
3824 assertEquals(names[
[all...]

Completed in 76 milliseconds