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

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

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

MimeBodyPart.setContentLanguage介绍

[英]Set the Content-Language header of this MimePart. The Content-Language header is defined by RFC 1766.
[中]设置此MimePart的内容语言标题。内容语言标头由RFC1766定义。

代码示例

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

/**
 * Set the Content-Language header of this MimePart. The
 * Content-Language header is defined by RFC 1766.
 *
 * @param languages     array of language tags
 */
public void setContentLanguage(String[] languages)
    throws MessagingException {
setContentLanguage(this, languages);
}

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

/**
 * Set the Content-Language header of this MimePart. The
 * Content-Language header is defined by RFC 1766.
 *
 * @param languages     array of language tags
 */
@Override
public void setContentLanguage(String[] languages)
    throws MessagingException {
setContentLanguage(this, languages);
}

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

/**
 * Set the "Content-Language" header of this MimePart. The
 * Content-Language header is defined by RFC 1766.
 *
 * @param languages     array of language tags
 * @exception        IllegalWriteException if the underlying
 *                implementation does not support modification
 * @exception        IllegalStateException if this message is
 *                obtained from a READ_ONLY folder.
 * @exception        MessagingException for other failures
 */
public void setContentLanguage(String[] languages)
    throws MessagingException {
MimeBodyPart.setContentLanguage(this, languages);
}

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

/**
 * Set the "Content-Language" header of this MimePart. The
 * Content-Language header is defined by RFC 1766.
 *
 * @param languages     array of language tags
 * @exception        IllegalWriteException if the underlying
 *                implementation does not support modification
 * @exception        IllegalStateException if this message is
 *                obtained from a READ_ONLY folder.
 * @exception        MessagingException for other failures
 */
@Override
public void setContentLanguage(String[] languages)
    throws MessagingException {
MimeBodyPart.setContentLanguage(this, languages);
}

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

/**
 * Set the Content-Language header of this MimePart. The
 * Content-Language header is defined by RFC 1766.
 *
 * @param languages     array of language tags
 */
public void setContentLanguage(String[] languages)
    throws MessagingException {
setContentLanguage(this, languages);
}

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

/**
 * Set the Content-Language header of this MimePart. The
 * Content-Language header is defined by RFC 1766.
 *
 * @param languages     array of language tags
 */
@Override
public void setContentLanguage(String[] languages)
    throws MessagingException {
setContentLanguage(this, languages);
}

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

/**
 * Set the Content-Language header of this MimePart. The
 * Content-Language header is defined by RFC 1766.
 *
 * @param languages     array of language tags
 */
@Override
public void setContentLanguage(String[] languages)
    throws MessagingException {
setContentLanguage(this, languages);
}

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

/**
 * Set the Content-Language header of this MimePart. The
 * Content-Language header is defined by RFC 1766.
 *
 * @param languages     array of language tags
 */
@Override
public void setContentLanguage(String[] languages)
    throws MessagingException {
setContentLanguage(this, languages);
}

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

/**
 * Set the Content-Language header of this MimePart. The
 * Content-Language header is defined by RFC 1766.
 *
 * @param languages     array of language tags
 */
@Override
public void setContentLanguage(String[] languages)
    throws MessagingException {
setContentLanguage(this, languages);
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.javax.mail

/**
 * Set the Content-Language header of this MimePart. The
 * Content-Language header is defined by RFC 1766.
 *
 * @param languages     array of language tags
 */
public void setContentLanguage(String[] languages)
    throws MessagingException {
setContentLanguage(this, languages);
}

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

/**
 * Set the Content-Language header of this MimePart. The
 * Content-Language header is defined by RFC 1766.
 *
 * @param languages     array of language tags
 */
@Override
public void setContentLanguage(String[] languages)
    throws MessagingException {
setContentLanguage(this, languages);
}

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

/**
 * Set the Content-Language header of this MimePart. The
 * Content-Language header is defined by RFC 1766.
 *
 * @param languages     array of language tags
 */
@Override
public void setContentLanguage(String[] languages)
    throws MessagingException {
setContentLanguage(this, languages);
}

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

/**
 * Set the "Content-Language" header of this MimePart. The
 * Content-Language header is defined by RFC 1766.
 *
 * @param languages     array of language tags
 * @exception        IllegalWriteException if the underlying
 *                implementation does not support modification
 * @exception        IllegalStateException if this message is
 *                obtained from a READ_ONLY folder.
 * @exception        MessagingException for other failures
 */
@Override
public void setContentLanguage(String[] languages)
    throws MessagingException {
MimeBodyPart.setContentLanguage(this, languages);
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.javax.mail

/**
 * Set the "Content-Language" header of this MimePart. The
 * Content-Language header is defined by RFC 1766.
 *
 * @param languages     array of language tags
 * @exception        IllegalWriteException if the underlying
 *                implementation does not support modification
 * @exception        IllegalStateException if this message is
 *                obtained from a READ_ONLY folder.
 * @exception        MessagingException
 */
public void setContentLanguage(String[] languages)
    throws MessagingException {
MimeBodyPart.setContentLanguage(this, languages);
}

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

/**
 * Set the "Content-Language" header of this MimePart. The
 * Content-Language header is defined by RFC 1766.
 *
 * @param languages     array of language tags
 * @exception        IllegalWriteException if the underlying
 *                implementation does not support modification
 * @exception        IllegalStateException if this message is
 *                obtained from a READ_ONLY folder.
 * @exception        MessagingException
 */
public void setContentLanguage(String[] languages)
    throws MessagingException {
MimeBodyPart.setContentLanguage(this, languages);
}

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

/**
 * Set the "Content-Language" header of this MimePart. The
 * Content-Language header is defined by RFC 1766.
 *
 * @param languages     array of language tags
 * @exception        IllegalWriteException if the underlying
 *                implementation does not support modification
 * @exception        IllegalStateException if this message is
 *                obtained from a READ_ONLY folder.
 * @exception        MessagingException for other failures
 */
@Override
public void setContentLanguage(String[] languages)
    throws MessagingException {
MimeBodyPart.setContentLanguage(this, languages);
}

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

/**
 * Set the "Content-Language" header of this MimePart. The
 * Content-Language header is defined by RFC 1766.
 *
 * @param languages     array of language tags
 * @exception        IllegalWriteException if the underlying
 *                implementation does not support modification
 * @exception        IllegalStateException if this message is
 *                obtained from a READ_ONLY folder.
 * @exception        MessagingException for other failures
 */
@Override
public void setContentLanguage(String[] languages)
    throws MessagingException {
MimeBodyPart.setContentLanguage(this, languages);
}

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

/**
 * Set the "Content-Language" header of this MimePart. The
 * Content-Language header is defined by RFC 1766.
 *
 * @param languages     array of language tags
 * @exception        IllegalWriteException if the underlying
 *                implementation does not support modification
 * @exception        IllegalStateException if this message is
 *                obtained from a READ_ONLY folder.
 * @exception        MessagingException for other failures
 */
@Override
public void setContentLanguage(String[] languages)
    throws MessagingException {
MimeBodyPart.setContentLanguage(this, languages);
}

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

/**
 * Set the "Content-Language" header of this MimePart. The
 * Content-Language header is defined by RFC 1766.
 *
 * @param languages     array of language tags
 * @exception        IllegalWriteException if the underlying
 *                implementation does not support modification
 * @exception        IllegalStateException if this message is
 *                obtained from a READ_ONLY folder.
 * @exception        MessagingException for other failures
 */
@Override
public void setContentLanguage(String[] languages)
    throws MessagingException {
MimeBodyPart.setContentLanguage(this, languages);
}

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

/**
 * Set the "Content-Language" header of this MimePart. The
 * Content-Language header is defined by RFC 1766.
 *
 * @param languages     array of language tags
 * @exception        IllegalWriteException if the underlying
 *                implementation does not support modification
 * @exception        IllegalStateException if this message is
 *                obtained from a READ_ONLY folder.
 * @exception        MessagingException for other failures
 */
@Override
public void setContentLanguage(String[] languages)
    throws MessagingException {
MimeBodyPart.setContentLanguage(this, languages);
}

相关文章