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

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

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

MimeBodyPart.getContentLanguage介绍

[英]Get the languages specified in the Content-Language header of this MimePart. The Content-Language header is defined by RFC 1766. Returns null if this header is not available or its value is absent.

This implementation uses getHeader(name) to obtain the requisite header field.
[中]获取此MimePart的内容语言标头中指定的语言。内容语言标头由RFC1766定义。如果此标题不可用或其值不存在,则返回null
此实现使用getHeader(name)来获取必需的头字段。

代码示例

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

/**
 * Get the languages specified in the Content-Language header
 * of this MimePart. The Content-Language header is defined by
 * RFC 1766. Returns <code>null</code> if this header is not
 * available or its value is absent. <p>
 *
 * This implementation uses <code>getHeader(name)</code>
 * to obtain the requisite header field.
 */
public String[] getContentLanguage() throws MessagingException {
return getContentLanguage(this);
}

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

/**
 * Get the languages specified in the Content-Language header
 * of this MimePart. The Content-Language header is defined by
 * RFC 1766. Returns <code>null</code> if this header is not
 * available or its value is absent. <p>
 *
 * This implementation uses <code>getHeader(name)</code>
 * to obtain the requisite header field.
 */
@Override
public String[] getContentLanguage() throws MessagingException {
return getContentLanguage(this);
}

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

/**
 * Get the languages specified in the "Content-Language" header
 * field of this message. The Content-Language header is defined by
 * RFC 1766. Returns <code>null</code> if this field is unavailable
 * or its value is absent. <p>
 *
 * This implementation uses the <code>getHeader</code> method
 * to obtain the requisite header field.
 *
 * @return            value of content-language header.
 * @exception        MessagingException for failures
 */
public String[] getContentLanguage() throws MessagingException {
return MimeBodyPart.getContentLanguage(this);
}

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

/**
 * Get the languages specified in the "Content-Language" header
 * field of this message. The Content-Language header is defined by
 * RFC 1766. Returns <code>null</code> if this field is unavailable
 * or its value is absent. <p>
 *
 * This implementation uses the <code>getHeader</code> method
 * to obtain the requisite header field.
 *
 * @return            value of content-language header.
 * @exception        MessagingException for failures
 */
@Override
public String[] getContentLanguage() throws MessagingException {
return MimeBodyPart.getContentLanguage(this);
}

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

/**
 * Get the languages specified in the Content-Language header
 * of this MimePart. The Content-Language header is defined by
 * RFC 1766. Returns <code>null</code> if this header is not
 * available or its value is absent. <p>
 *
 * This implementation uses <code>getHeader(name)</code>
 * to obtain the requisite header field.
 */
public String[] getContentLanguage() throws MessagingException {
return getContentLanguage(this);
}

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

/**
 * Get the languages specified in the Content-Language header
 * of this MimePart. The Content-Language header is defined by
 * RFC 1766. Returns <code>null</code> if this header is not
 * available or its value is absent. <p>
 *
 * This implementation uses <code>getHeader(name)</code>
 * to obtain the requisite header field.
 */
public String[] getContentLanguage() throws MessagingException {
return getContentLanguage(this);
}

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

/**
 * Get the languages specified in the Content-Language header
 * of this MimePart. The Content-Language header is defined by
 * RFC 1766. Returns <code>null</code> if this header is not
 * available or its value is absent. <p>
 *
 * This implementation uses <code>getHeader(name)</code>
 * to obtain the requisite header field.
 */
@Override
public String[] getContentLanguage() throws MessagingException {
return getContentLanguage(this);
}

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

/**
 * Get the languages specified in the Content-Language header
 * of this MimePart. The Content-Language header is defined by
 * RFC 1766. Returns <code>null</code> if this header is not
 * available or its value is absent. <p>
 *
 * This implementation uses <code>getHeader(name)</code>
 * to obtain the requisite header field.
 */
@Override
public String[] getContentLanguage() throws MessagingException {
return getContentLanguage(this);
}

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

/**
 * Get the languages specified in the Content-Language header
 * of this MimePart. The Content-Language header is defined by
 * RFC 1766. Returns <code>null</code> if this header is not
 * available or its value is absent. <p>
 *
 * This implementation uses <code>getHeader(name)</code>
 * to obtain the requisite header field.
 */
@Override
public String[] getContentLanguage() throws MessagingException {
return getContentLanguage(this);
}

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

/**
 * Get the languages specified in the Content-Language header
 * of this MimePart. The Content-Language header is defined by
 * RFC 1766. Returns <code>null</code> if this header is not
 * available or its value is absent. <p>
 *
 * This implementation uses <code>getHeader(name)</code>
 * to obtain the requisite header field.
 */
@Override
public String[] getContentLanguage() throws MessagingException {
return getContentLanguage(this);
}

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

/**
 * Get the languages specified in the Content-Language header
 * of this MimePart. The Content-Language header is defined by
 * RFC 1766. Returns <code>null</code> if this header is not
 * available or its value is absent. <p>
 *
 * This implementation uses <code>getHeader(name)</code>
 * to obtain the requisite header field.
 */
@Override
public String[] getContentLanguage() throws MessagingException {
return getContentLanguage(this);
}

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

/**
 * Get the languages specified in the Content-Language header
 * of this MimePart. The Content-Language header is defined by
 * RFC 1766. Returns <code>null</code> if this header is not
 * available or its value is absent. <p>
 *
 * This implementation uses <code>getHeader(name)</code>
 * to obtain the requisite header field.
 */
@Override
public String[] getContentLanguage() throws MessagingException {
return getContentLanguage(this);
}

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

/**
 * Get the languages specified in the "Content-Language" header
 * field of this message. The Content-Language header is defined by
 * RFC 1766. Returns <code>null</code> if this field is unavailable
 * or its value is absent. <p>
 *
 * This implementation uses the <code>getHeader</code> method
 * to obtain the requisite header field.
 *
 * @return            value of content-language header.
 * @exception        MessagingException
 */
public String[] getContentLanguage() throws MessagingException {
return MimeBodyPart.getContentLanguage(this);
}

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

/**
 * Get the languages specified in the "Content-Language" header
 * field of this message. The Content-Language header is defined by
 * RFC 1766. Returns <code>null</code> if this field is unavailable
 * or its value is absent. <p>
 *
 * This implementation uses the <code>getHeader</code> method
 * to obtain the requisite header field.
 *
 * @return            value of content-language header.
 * @exception        MessagingException for failures
 */
@Override
public String[] getContentLanguage() throws MessagingException {
return MimeBodyPart.getContentLanguage(this);
}

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

/**
 * Get the languages specified in the "Content-Language" header
 * field of this message. The Content-Language header is defined by
 * RFC 1766. Returns <code>null</code> if this field is unavailable
 * or its value is absent. <p>
 *
 * This implementation uses the <code>getHeader</code> method
 * to obtain the requisite header field.
 *
 * @return            value of content-language header.
 * @exception        MessagingException
 */
public String[] getContentLanguage() throws MessagingException {
return MimeBodyPart.getContentLanguage(this);
}

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

/**
 * Get the languages specified in the "Content-Language" header
 * field of this message. The Content-Language header is defined by
 * RFC 1766. Returns <code>null</code> if this field is unavailable
 * or its value is absent. <p>
 *
 * This implementation uses the <code>getHeader</code> method
 * to obtain the requisite header field.
 *
 * @return            value of content-language header.
 * @exception        MessagingException for failures
 */
@Override
public String[] getContentLanguage() throws MessagingException {
return MimeBodyPart.getContentLanguage(this);
}

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

/**
 * Get the languages specified in the "Content-Language" header
 * field of this message. The Content-Language header is defined by
 * RFC 1766. Returns <code>null</code> if this field is unavailable
 * or its value is absent. <p>
 *
 * This implementation uses the <code>getHeader</code> method
 * to obtain the requisite header field.
 *
 * @return            value of content-language header.
 * @exception        MessagingException for failures
 */
@Override
public String[] getContentLanguage() throws MessagingException {
return MimeBodyPart.getContentLanguage(this);
}

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

/**
 * Get the languages specified in the "Content-Language" header
 * field of this message. The Content-Language header is defined by
 * RFC 1766. Returns <code>null</code> if this field is unavailable
 * or its value is absent. <p>
 *
 * This implementation uses the <code>getHeader</code> method
 * to obtain the requisite header field.
 *
 * @return            value of content-language header.
 * @exception        MessagingException for failures
 */
@Override
public String[] getContentLanguage() throws MessagingException {
return MimeBodyPart.getContentLanguage(this);
}

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

/**
 * Get the languages specified in the "Content-Language" header
 * field of this message. The Content-Language header is defined by
 * RFC 1766. Returns <code>null</code> if this field is unavailable
 * or its value is absent. <p>
 *
 * This implementation uses the <code>getHeader</code> method
 * to obtain the requisite header field.
 *
 * @return            value of content-language header.
 * @exception        MessagingException for failures
 */
@Override
public String[] getContentLanguage() throws MessagingException {
return MimeBodyPart.getContentLanguage(this);
}

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

/**
 * Get the languages specified in the "Content-Language" header
 * field of this message. The Content-Language header is defined by
 * RFC 1766. Returns <code>null</code> if this field is unavailable
 * or its value is absent. <p>
 *
 * This implementation uses the <code>getHeader</code> method
 * to obtain the requisite header field.
 *
 * @return            value of content-language header.
 * @exception        MessagingException for failures
 */
@Override
public String[] getContentLanguage() throws MessagingException {
return MimeBodyPart.getContentLanguage(this);
}

相关文章