/javamail/mail/src/test/java/javax/mail/internet/ |
H A D | MimeMultipartPreambleTest.java | 77 "Content-Type: text/plain;charset=\"us-ascii\"\n" + 119 * @param text the email text. 122 private void doThreePartMailTest(String text) throws Exception { argument 125 new ByteArrayInputStream(text.getBytes("US-ASCII"))); 135 "text/plain;charset=\"us-ascii\"", part1.getContentType());
|
/javamail/mail/src/main/java/com/sun/mail/imap/ |
H A D | ReferralException.java | 56 private String text; field in class:ReferralException 61 * Constructs an ReferralException with the specified URL and text. 63 * @param text the detail message 66 public ReferralException(String url, String text) { argument 67 super("[REFERRAL " + url + "] " + text); 69 this.text = text; 82 * Return the text sent by the server along with the referral. 84 * @return the text 87 return text; [all...] |
/javamail/mail/src/main/java/javax/mail/internet/ |
H A D | MimePart.java | 202 * part's content, with a MIME type of "text/plain". If the 208 * <code>text</code> is large, since this method may have 215 * @param text the text content to set 217 * @see #setText(String text, String charset) 219 public void setText(String text) throws MessagingException; argument 223 * content, with a MIME type of "text/plain" and the specified 228 * @param text the text content to set 229 * @param charset the charset to use for the text 232 setText(String text, String charset) argument 248 setText(String text, String charset, String subtype) argument [all...] |
H A D | MimeUtility.java | 111 * type "text". Often such parts will contain textual data for which 121 * and text parts that don't otherwise specify a charset. Normally, the 183 * If the primary type of this datasource is "text" and if all 189 * If the primary type of this datasource is not "text", then if 213 boolean isText = cType.match("text/*"); 214 // if not text, stop processing when we see non-ASCII 285 * "text/plain" String) because all the I/O is done in this 320 if (cType.match("text/*")) { 339 } else { // not "text" 465 * Encode a RFC 822 "text" toke 500 encodeText(String text) argument 532 encodeText(String text, String charset, String encoding) argument [all...] |
H A D | MailDateFormat.java | 51 import java.text.SimpleDateFormat; 52 import java.text.NumberFormat; 53 import java.text.FieldPosition; 54 import java.text.ParsePosition; 55 import java.text.ParseException; 235 * @param text the formatted date to be parsed 241 public Date parse(String text, ParsePosition pos) { argument 242 if (text == null || pos == null) { 244 } else if (0 > pos.getIndex() || pos.getIndex() >= text.length()) { 249 ? new Rfc2822LenientParser(text, po 406 final String text; field in class:MailDateFormat.AbstractDateParser 409 AbstractDateParser(String text, ParsePosition pos) argument 797 Rfc2822StrictParser(String text, ParsePosition pos) argument 908 Rfc2822LenientParser(String text, ParsePosition pos) argument [all...] |
H A D | MimeBodyPart.java | 265 * unavailable, "text/plain" should be returned. <p> 276 s = "text/plain"; 287 * comparing a Part of content type <strong>"text/plain"</strong> 288 * with <strong>"text/plain; charset=foobar"</strong>. <p> 634 * example, the native format of a text/plain content is usually 723 * part's content, with a MIME type of "text/plain". If the 729 * <code>text</code> is large, since this method may have 736 * @param text the text content to set 738 * @see #setText(String text, Strin 740 setText(String text) argument 755 setText(String text, String charset) argument 773 setText(String text, String charset, String subtype) argument 1174 setText(MimePart part, String text, String charset, String subtype) argument [all...] |
H A D | MimeMessage.java | 48 import java.text.ParseException; 980 * unavailable, "text/plain" should be returned. <p> 993 return "text/plain"; 1004 * comparing a Part of content type <strong>"text/plain"</strong> 1005 * with <strong>"text/plain; charset=foobar"</strong>. <p> 1429 * example, the native format of a "text/plain" content 1521 * part's content, with a MIME type of "text/plain". If the 1527 * <code>text</code> is large, since this method may have 1534 * @param text the text conten 1538 setText(String text) argument 1553 setText(String text, String charset) argument 1571 setText(String text, String charset, String subtype) argument [all...] |
/javamail/dsn/src/main/java/com/sun/mail/dsn/ |
H A D | MultipartReport.java | 61 * <li>[Required] A human readable text message describing the 94 * text and report type (DeliveryStatus or DispositionNotification) 97 * @param text the plain text 101 public MultipartReport(String text, Report report) argument 109 mbp.setText(text); 120 * text, report, and original message to be returned to the user. 122 * @param text the plain text 127 public MultipartReport(String text, Repor argument 147 MultipartReport(String text, Report report, InternetHeaders hdr) argument 216 setText(String text) argument [all...] |
/javamail/mail/src/main/java/com/sun/mail/auth/ |
H A D | Ntlm.java | 259 * convert each to 8 byte DES keys, encrypt the text arg with 262 private byte[] calcResponse(byte[] key, byte[] text) argument 272 byte[] out1 = cipher.doFinal(text, 0, 8); 274 byte[] out2 = cipher.doFinal(text, 0, 8); 276 byte[] out3 = cipher.doFinal(text, 0, 8);
|
/javamail/mail/src/main/java/javax/mail/ |
H A D | Part.java | 147 * comparing a Part of content type <strong>"text/plain"</strong> 148 * with <strong>"text/plain; charset=foobar"</strong>. <p> 289 * the object returned for "text/plain" content is usually a String 343 * part's content with a MIME type of "text/plain". 345 * @param text The text that is the Message's content. 353 public void setText(String text) throws MessagingException; argument
|