/javamail/mail/src/test/java/javax/mail/internet/ |
H A D | NonAsciiFileNames.java | 52 private static String charset; field in class:NonAsciiFileNames 57 charset = System.getProperty("mail.mime.charset"); 58 System.setProperty("mail.mime.charset", "utf-8"); 97 if (charset == null) 98 System.clearProperty("mail.mime.charset"); 100 System.setProperty("mail.mime.charset", charset);
|
/javamail/gimap/src/main/java/com/sun/mail/gimap/protocol/ |
H A D | GmailSearchSequence.java | 61 public Argument generateSequence(SearchTerm term, String charset) argument 68 return gmailRawSearch((GmailRawSearchTerm)term, charset); 70 return super.generateSequence(term, charset); 89 protected Argument gmailRawSearch(GmailRawSearchTerm term, String charset) argument 93 result.writeString(term.getPattern(), charset);
|
/javamail/mail/src/main/java/javax/mail/internet/ |
H A D | MimePart.java | 204 * using the platform's default charset. The charset is also 205 * used to set the "charset" parameter. <p> 209 * to scan all the characters to determine what charset to 212 * If the charset is already known, use the 213 * <code>setText</code> method that takes the charset parameter. 217 * @see #setText(String text, String charset) 224 * charset. The given Unicode string will be charset-encoded 225 * using the specified charset 232 setText(String text, String charset) argument 248 setText(String text, String charset, String subtype) argument [all...] |
H A D | ParameterList.java | 110 * Only the first segment contains the charset and language 129 * first segment appears we don't know what charset to use to 132 * to a String using the specified charset in the 173 String charset; field in class:ParameterList.Value 377 v.value = decodeBytes(v.value, v.charset); 427 String charset = null; 440 // the first segment specifies the charset 442 charset = vv.charset; 444 if (charset 585 set(String name, String value, String charset) argument 783 encodeValue(String value, String charset) argument 850 decodeBytes(String value, String charset) argument [all...] |
H A D | InternetAddress.java | 159 * can't be encoded in the given charset 172 * @param charset the MIME charset for the name 174 * can't be encoded in the given charset 176 public InternetAddress(String address, String personal, String charset) argument 179 setPersonal(personal, charset); 214 * charset as per RFC 2047. If the name contains only US-ASCII 218 * @param charset MIME charset to be used to encode the name as 221 * @exception UnsupportedEncodingException if the charset encodin 224 setPersonal(String name, String charset) argument [all...] |
H A D | MimeUtility.java | 74 * yet a widely used charset, one might want to first charset-encode 75 * the String into another charset and then do the transfer-encoding. 119 * In addition, the <code>mail.mime.charset</code> System property can 120 * be used to specify the default MIME charset to use for encoded words 121 * and text parts that don't otherwise specify a charset. Normally, the 122 * default MIME charset is derived from the default Java charset, as 125 * charset. In cases where the default MIME charset t 532 encodeText(String text, String charset, String encoding) argument 709 encodeWord(String word, String charset, String encoding) argument 722 encodeWord(String string, String charset, String encoding, boolean encodingWord) argument 1236 javaCharset(String charset) argument 1258 mimeCharset(String charset) argument [all...] |
H A D | MimeBodyPart.java | 288 * with <strong>"text/plain; charset=foobar"</strong>. <p> 453 * be encoded using the platform's default charset. If the 457 * Note that if the charset encoding process fails, a 469 * in the exception chain if the charset 482 * be encoded using the specified charset. If the description 486 * Note that if the charset encoding process fails, a 492 * @param charset Charset for encoding 499 * in the exception chain if the charset 502 public void setDescription(String description, String charset) argument 504 setDescription(this, description, charset); 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 1232 setDescription(MimePart part, String description, String charset) argument [all...] |
H A D | MimeMessage.java | 797 * platform's default charset. If the subject contains only 805 * Note that if the charset encoding process fails, a 825 * charset. If the subject contains only US-ASCII characters, no 832 * Note that if the charset encoding process fails, a 838 * @param charset The charset 846 public void setSubject(String subject, String charset) argument 853 MimeUtility.encodeText(subject, charset, null))); 1005 * with <strong>"text/plain; charset=foobar"</strong>. <p> 1156 * be encoded using the platform's default charset 1205 setDescription(String description, String charset) argument 1553 setText(String text, String charset) argument 1571 setText(String text, String charset, String subtype) argument [all...] |
/javamail/mbox/src/main/java/com/sun/mail/mbox/ |
H A D | SunV3BodyPart.java | 219 * be encoded using the platform's default charset. If the 239 * be encoded using the specified charset. If the description 244 * @param charset Charset for encoding 250 public void setDescription(String description, String charset) argument
|
/javamail/mail/src/main/java/com/sun/mail/imap/protocol/ |
H A D | SearchSequence.java | 69 * @param charset charset for the search 74 public Argument generateSequence(SearchTerm term, String charset) argument 81 return and((AndTerm)term, charset); 83 return or((OrTerm)term, charset); 85 return not((NotTerm)term, charset); 87 return header((HeaderTerm)term, charset); 92 return from(fterm.getAddress().toString(), charset); 96 return from(fterm.getPattern(), charset); 102 charset); 185 and(AndTerm term, String charset) argument 197 or(OrTerm term, String charset) argument 245 not(NotTerm term, String charset) argument 266 header(HeaderTerm term, String charset) argument 275 messageid(MessageIDTerm term, String charset) argument 319 from(String address, String charset) argument 327 recipient(Message.RecipientType type, String address, String charset) argument 345 subject(SubjectTerm term, String charset) argument 354 body(BodyTerm term, String charset) argument [all...] |
H A D | IMAPProtocol.java | 2465 * use SEARCH CHARSET <charset> ... 2467 * default charset. If the server supports UTF-8, great, 2468 * always use it. Else we try to use the default charset. 2481 * this indicates that this charset is unsupported. 2502 * given charset. <p> 2507 String charset) 2510 // Generate a search-sequence with the given charset 2512 charset == null ? null : 2513 MimeUtility.javaCharset(charset) 2519 if (charset 2506 issueSearch(String msgSequence, SearchTerm term, String charset) argument [all...] |
/javamail/mail/src/main/java/com/sun/mail/iap/ |
H A D | Argument.java | 93 * charset, and write the bytes out as an ASTRING 96 * @param charset the charset 98 * @exception UnsupportedEncodingException for bad charset 100 public Argument writeString(String s, String charset) argument 102 if (charset == null) // convenience 105 items.add(new AString(s.getBytes(charset))); 128 * charset, and write the bytes out as an NSTRING 131 * @param charset the charset 136 writeNString(String s, String charset) argument [all...] |
/javamail/mail/src/main/java/com/sun/mail/imap/ |
H A D | IMAPBodyPart.java | 146 public void setDescription(String description, String charset) argument
|
H A D | IMAPMessage.java | 445 public void setSubject(String subject, String charset) argument 644 public void setDescription(String description, String charset) argument
|