javax.mail.internet.MimeBodyPart.restrictEncoding()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(3.2k)|赞(0)|评价(0)|浏览(122)

本文整理了Java中javax.mail.internet.MimeBodyPart.restrictEncoding()方法的一些代码示例,展示了MimeBodyPart.restrictEncoding()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。MimeBodyPart.restrictEncoding()方法的具体详情如下:
包路径:javax.mail.internet.MimeBodyPart
类名称:MimeBodyPart
方法名:restrictEncoding

MimeBodyPart.restrictEncoding介绍

[英]Restrict the encoding to values allowed for the Content-Type of the specified MimePart. Returns either the original encoding or null.
[中]将编码限制为指定MimePart的内容类型所允许的值。返回原始编码或null。

代码示例

代码示例来源:origin: camunda/camunda-bpm-platform

} else {
os = MimeUtility.encode(os,
  restrictEncoding(part, part.getEncoding()));
part.getDataHandler().writeTo(os);

代码示例来源:origin: com.sun.mail/javax.mail

} else {
os = MimeUtility.encode(os,
  restrictEncoding(part, part.getEncoding()));
part.getDataHandler().writeTo(os);

代码示例来源:origin: camunda/camunda-bpm-platform

MimeBodyPart.restrictEncoding(part, part.getEncoding());
if (encoding != null)
return MimeUtility.decode(is, encoding);

代码示例来源:origin: com.sun.mail/javax.mail

MimeBodyPart.restrictEncoding(part, part.getEncoding());
if (encoding != null)
return MimeUtility.decode(is, encoding);

代码示例来源:origin: javax.mail/com.springsource.javax.mail

} else {
os = MimeUtility.encode(os,
  restrictEncoding(part, part.getEncoding()));
part.getDataHandler().writeTo(os);

代码示例来源:origin: com.sun.mail/jakarta.mail

} else {
os = MimeUtility.encode(os,
  restrictEncoding(part, part.getEncoding()));
part.getDataHandler().writeTo(os);

代码示例来源:origin: javax.mail/javax.mail-api

} else {
os = MimeUtility.encode(os,
  restrictEncoding(part, part.getEncoding()));
part.getDataHandler().writeTo(os);

代码示例来源:origin: com.sun.mail/mailapi

} else {
os = MimeUtility.encode(os,
  restrictEncoding(part, part.getEncoding()));
part.getDataHandler().writeTo(os);

代码示例来源:origin: jboss/jboss-javaee-specs

} else {
os = MimeUtility.encode(os,
  restrictEncoding(part, part.getEncoding()));
part.getDataHandler().writeTo(os);

代码示例来源:origin: org.glassfish.metro/webservices-extra

} else {
os = MimeUtility.encode(os,
  restrictEncoding(part, part.getEncoding()));
part.getDataHandler().writeTo(os);

代码示例来源:origin: com.sun.mail/android-mail

} else {
os = MimeUtility.encode(os,
  restrictEncoding(part, part.getEncoding()));
part.getDataHandler().writeTo(os);

代码示例来源:origin: com.sun.mail/mailapi

MimeBodyPart.restrictEncoding(part, part.getEncoding());
if (encoding != null)
return MimeUtility.decode(is, encoding);

代码示例来源:origin: javax.mail/javax.mail-api

MimeBodyPart.restrictEncoding(part, part.getEncoding());
if (encoding != null)
return MimeUtility.decode(is, encoding);

代码示例来源:origin: org.glassfish.metro/webservices-extra

MimeBodyPart.restrictEncoding(part, part.getEncoding());
if (encoding != null)
return MimeUtility.decode(is, encoding);

代码示例来源:origin: jboss/jboss-javaee-specs

MimeBodyPart.restrictEncoding(part, part.getEncoding());
if (encoding != null)
return MimeUtility.decode(is, encoding);

代码示例来源:origin: com.sun.mail/jakarta.mail

MimeBodyPart.restrictEncoding(part, part.getEncoding());
if (encoding != null)
return MimeUtility.decode(is, encoding);

代码示例来源:origin: com.sun.mail/android-mail

MimeBodyPart.restrictEncoding(part, part.getEncoding());
if (encoding != null)
return MimeUtility.decode(is, encoding);

代码示例来源:origin: javax.mail/com.springsource.javax.mail

MimeBodyPart.restrictEncoding(part, part.getEncoding());
if (encoding != null)
return MimeUtility.decode(is, encoding);

相关文章