Searched refs:subject (Results 1 - 16 of 16) sorted by relevance

/javamail/taglib/src/main/java/demo/
H A DSendTag.java50 private String subject; field in class:SendTag
81 * subject attribute setter method.
83 public void setSubject(String subject) { argument
84 this.subject = subject;
124 if (subject != null)
125 msg.setSubject(subject);
/javamail/demo/src/main/java/internal/
H A Danswer.java313 String subject; field in class:Question
320 subject = msg.getSubject();
321 if (subject == null)
322 subject = "";
323 else if (subject.regionMatches(true, 0, "Re: ", 0, 4)) {
324 subject = subject.substring(4);
328 subject = subject.trim();
343 return subject
[all...]
/javamail/client/src/main/java/
H A DFolderModel.java144 String subject = m.getSubject();
145 if (subject != null) {
146 theData[2] = subject;
/javamail/demo/src/main/java/
H A Dsendhtml.java59 String to, subject = null, from = null,
84 subject = argv[++optind];
102 "\t[-s subject] [-o from-address] [-c cc-addresses] [-b bcc-addresses]");
121 if (subject == null) {
124 subject = in.readLine();
126 System.out.println("Subject: " + subject);
156 msg.setSubject(subject);
214 String subject = msg.getSubject();
219 sb.append(subject + "\n");
224 sb.append("<H1>" + subject
[all...]
H A Dsendfile.java68 String subject = "Sending a file";
83 msg.setSubject(subject);
H A Dmsgsend.java52 String to, subject = null, from = null,
83 subject = argv[++optind];
101 "\t[-s subject] [-o from-address] [-c cc-addresses] [-b bcc-addresses]");
123 if (subject == null) {
126 subject = in.readLine();
128 System.out.println("Subject: " + subject);
163 msg.setSubject(subject);
H A Dsmtpsend.java79 String to, subject = null, from = null,
113 subject = argv[++optind];
137 "\t[-s subject] [-o from-address] [-c cc-addresses] [-b bcc-addresses]");
161 if (subject == null) {
164 subject = in.readLine();
166 System.out.println("Subject: " + subject);
216 msg.setSubject(subject);
H A Dsearch.java59 String subject = null;
82 } else if (argv[optind].equals("-subject")) {
83 subject = argv[++optind];
97 "[-subject subject] [-from from] [-or] [-today]");
106 if ((subject == null) && (from == null) && !today && size < 0) {
108 "Specify either -subject, -from, -today, or -size");
156 if (subject != null)
157 term = new SubjectTerm(subject);
/javamail/mail/src/main/java/com/sun/mail/imap/protocol/
H A DENVELOPE.java6 * The contents of this file are subject to the terms of either the GNU
19 * Oracle designates this particular file as subject to the "Classpath"
37 * only if the new code is made subject to such option by the copyright
69 public String subject; field in class:ENVELOPE
108 subject = r.readString();
110 System.out.println(" Subject: " + subject);
H A DSearchSequence.java6 * The contents of this file are subject to the terms of either the GNU
19 * Oracle designates this particular file as subject to the "Classpath"
37 * only if the new code is made subject to such option by the copyright
111 return subject((SubjectTerm)term, charset);
345 protected Argument subject(SubjectTerm term, String charset) method in class:SearchSequence
/javamail/mail/src/main/java/com/sun/mail/imap/
H A DIMAPMessage.java6 * The contents of this file are subject to the terms of either the GNU
19 * Oracle designates this particular file as subject to the "Classpath"
37 * only if the new code is made subject to such option by the copyright
110 private String subject; // decoded (Unicode) subject field in class:IMAPMessage
418 * Get the decoded subject.
425 if (subject != null) // already cached ?
426 return subject;
429 if (envelope.subject == null) // no subject
445 setSubject(String subject, String charset) argument
[all...]
/javamail/mail/src/main/java/javax/mail/internet/
H A DMimeMessage.java6 * The contents of this file are subject to the terms of either the GNU
19 * Oracle designates this particular file as subject to the "Classpath"
37 * only if the new code is made subject to such option by the copyright
768 * if the subject field is unavailable or its value is absent. <p>
770 * If the subject is encoded as per RFC 2047, it is decoded and
795 * Set the "Subject" header field. If the subject contains
797 * platform's default charset. If the subject contains only
799 * as-is. If the subject is null, the existing "Subject" field
802 * The application must ensure that the subject does not contain
810 * @param subject Th
818 setSubject(String subject) argument
846 setSubject(String subject, String charset) argument
[all...]
/javamail/mail/src/main/java/javax/mail/
H A DMessage.java6 * The contents of this file are subject to the terms of either the GNU
19 * Oracle designates this particular file as subject to the "Classpath"
37 * only if the new code is made subject to such option by the copyright
465 * Get the subject of this message.
467 * @return the subject
473 * Set the subject of this message.
475 * @param subject the subject
483 public abstract void setSubject(String subject) argument
680 * The "Subject" field is filled in with the original subject
[all...]
/javamail/mail/src/main/java/com/sun/mail/util/logging/
H A DMailHandler.java7 * The contents of this file are subject to the terms of either the GNU
20 * Oracle designates this particular file as subject to the "Classpath"
38 * only if the new code is made subject to such option by the copyright
217 * <li>&lt;handler-name&gt;.subject the name of a
218 * <tt>Formatter</tt> class or string literal used to create the subject line.
219 * The empty string can be used to specify no subject. The subject line must
287 * <tt>getFilter()</tt> will be included in the message body. The subject
463 * Holds the formatter used to create the subject line of the email.
464 * A subject formatte
1530 setSubject(final String subject) argument
[all...]
/javamail/mail/src/test/java/com/sun/mail/util/logging/
H A DMailHandlerTest.java7 * The contents of this file are subject to the terms of either the GNU
20 * Oracle designates this particular file as subject to the "Classpath"
38 * only if the new code is made subject to such option by the copyright
362 props.put(p.concat(".subject"), ClassLoaderFilterFormatter.class.getName());
629 Formatter subject = instance.getSubject();
639 instance.setAttachmentNames(new Formatter[]{subject});
660 assertEquals(subject, instance.getSubject());
667 assertEquals(subject, instance.getAttachmentNames()[0]);
1744 fail("Mutable subject.");
2314 props.put(p.concat(".subject"),
[all...]
/javamail/mail/src/main/java/com/sun/mail/smtp/
H A DSMTPTransport.java6 * The contents of this file are subject to the terms of either the GNU
19 * Oracle designates this particular file as subject to the "Classpath"
37 * only if the new code is made subject to such option by the copyright
2557 private void sendMessageStart(String subject) { } argument

Completed in 36 milliseconds