Searched refs:languages (Results 1 - 5 of 5) sorted by relevance

/javamail/mail/src/main/java/javax/mail/internet/
H A DMimePart.java191 * @param languages array of language tags
197 public void setContentLanguage(String[] languages) argument
H A DMimeBodyPart.java405 * Get the languages specified in the Content-Language header
421 * @param languages array of language tags
423 public void setContentLanguage(String[] languages) argument
425 setContentLanguage(this, languages);
1363 static void setContentLanguage(MimePart part, String[] languages) argument
1365 StringBuffer sb = new StringBuffer(languages[0]);
1366 int len = "Content-Language".length() + 2 + languages[0].length();
1367 for (int i = 1; i < languages.length; i++) {
1374 sb.append(languages[i]);
1375 len += languages[
[all...]
H A DMimeMessage.java1211 * Get the languages specified in the "Content-Language" header
1230 * @param languages array of language tags
1237 public void setContentLanguage(String[] languages) argument
1239 MimeBodyPart.setContentLanguage(this, languages);
/javamail/mail/src/test/java/javax/mail/internet/
H A DMimeBodyPartTest.java63 private static String[] languages = new String[] { field in class:MimeBodyPartTest
71 * if there are a lot of languages.
76 mbp.setContentLanguage(languages);
81 assertArrayEquals(languages, langs);
/javamail/mail/src/main/java/com/sun/mail/imap/
H A DIMAPMessage.java523 public void setContentLanguage(String[] languages) argument

Completed in 23 milliseconds