Searched refs:getEncoding (Results 1 - 20 of 20) sorted by relevance

/javamail/mail/src/main/java/javax/mail/
H A DEncodingAware.java58 * // implements EncodingAware.getEncoding()
59 * public String getEncoding() {
78 public String getEncoding(); method in interface:EncodingAware
/javamail/mail/src/test/java/javax/mail/internet/
H A DMimeUtilityTest.java82 String en = MimeUtility.getEncoding(ds);
87 * Test that getEncoding returns a valid value even if the file
98 assertTrue("getEncoding(DataSource)",
99 encodings.contains(MimeUtility.getEncoding(fds)));
100 assertTrue("getEncoding(DataHandler)",
101 encodings.contains(MimeUtility.getEncoding(new DataHandler(fds))));
105 * Test that getEncoding returns a valid value even if the content
125 assertTrue(encodings.contains(MimeUtility.getEncoding(bads)));
127 MimeUtility.getEncoding(new DataHandler(bads))));
130 assertTrue(encodings.contains(MimeUtility.getEncoding(bad
[all...]
H A DMimeBodyPartTest.java108 assertEquals("quoted-printable", mbp.getEncoding());
137 assertEquals("quoted-printable", mbp.getEncoding());
164 assertEquals("base64", mbp2.getEncoding());
H A DModifyMessageTest.java136 assertEquals("quoted-printable", mbp.getEncoding());
139 assertEquals("base64", mbp.getEncoding());
H A DMimeMessageTest.java181 assertEquals("quoted-printable", msg.getEncoding());
202 assertEquals("quoted-printable", msg.getEncoding());
/javamail/mail/src/main/java/javax/mail/internet/
H A DMimePart.java146 public String getEncoding() throws MessagingException; method in interface:MimePart
H A DPreencodedMimeBodyPart.java81 public String getEncoding() throws MessagingException { method in class:PreencodedMimeBodyPart
H A DMimePartDataSource.java106 MimeBodyPart.restrictEncoding(part, part.getEncoding());
H A DMimeBodyPart.java344 public String getEncoding() throws MessagingException { method in class:MimeBodyPart
345 return getEncoding(this);
898 // implements EncodingAware.getEncoding()
899 public String getEncoding() { method in class:MimeBodyPart.EncodedFileDataSource
1380 static String getEncoding(MimePart part) throws MessagingException { method in class:MimeBodyPart
1519 String enc = mpart.getEncoding();
1532 setEncoding(part, MimeUtility.getEncoding(dh));
1543 * ASCII. (MimeUtility.getEncoding will choose
1548 String enc = part.getEncoding();
1640 if (mpart.getEncoding() !
[all...]
H A DMimeUtility.java199 public static String getEncoding(DataSource ds) { method in class:MimeUtility
205 encoding = ((EncodingAware)ds).getEncoding();
280 * Same as <code>getEncoding(DataSource)</code> except that instead
294 public static String getEncoding(DataHandler dh) { method in class:MimeUtility
301 * the getEncoding(DataSource) method is typically faster. If
312 return getEncoding(dh.getDataSource());
1307 defaultJavaCharset = reader.getEncoding();
H A DMimeMessage.java1064 public String getEncoding() throws MessagingException { method in class:MimeMessage
1065 return MimeBodyPart.getEncoding(this);
1410 * getContentStream(), getEncoding());
/javamail/mbox/src/main/java/com/sun/mail/mbox/
H A DSunV3BodyPart.java184 public String getEncoding() throws MessagingException { method in class:SunV3BodyPart
185 String enc = super.getEncoding();
/javamail/outlook/src/main/java/
H A DMSBodyPart.java69 public String getEncoding() throws MessagingException { method in class:MSBodyPart
H A DMSMessage.java182 public String getEncoding() throws MessagingException { method in class:MSMessage
/javamail/mail/src/main/java/com/sun/mail/imap/
H A DIMAPBodyPart.java114 public String getEncoding() throws MessagingException { method in class:IMAPBodyPart
H A DIMAPMessage.java582 public String getEncoding() throws MessagingException { method in class:IMAPMessage
585 return super.getEncoding();
/javamail/
H A Dmail.sig854 meth public java.lang.String getEncoding() throws javax.mail.MessagingException
926 meth public java.lang.String getEncoding() throws javax.mail.MessagingException
1023 meth public abstract java.lang.String getEncoding() throws javax.mail.MessagingException
1062 meth public static java.lang.String getEncoding(javax.activation.DataHandler)
1063 meth public static java.lang.String getEncoding(javax.activation.DataSource)
1114 meth public java.lang.String getEncoding() throws javax.mail.MessagingException
/javamail/mail/src/main/java/com/sun/mail/util/logging/
H A DMailHandler.java1017 public synchronized String getEncoding() { method in class:MailHandler
1782 String charset = getEncoding();
/javamail/mail/src/test/java/com/sun/mail/util/logging/
H A DMailHandlerTest.java1261 assertEquals(manager.getProperty(p.concat(".encoding")), instance.getEncoding());
1267 assertEquals(manager.getProperty(p.concat(".encoding")), instance.getEncoding());
1272 assertEquals(enc, instance.getEncoding());
1557 final String enc = h.getEncoding();
4943 h.getEncoding();
6640 assertEquals("UTF-8", h.getEncoding());
6784 assertEquals(null, h.getEncoding());
/javamail/mail/src/main/java/com/sun/mail/smtp/
H A DSMTPTransport.java1507 String enc = part.getEncoding();

Completed in 193 milliseconds