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

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

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

MimeMultipart.initializeProperties介绍

[英]Initialize flags that control parsing behavior, based on System properties described above in the class documentation.
[中]根据类文档中描述的系统属性初始化控制解析行为的标志。

代码示例

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

/**
 * Construct a MimeMultipart object of the given subtype.
 * A unique boundary string is generated and this string is
 * setup as the "boundary" parameter for the 
 * <code>contentType</code> field.
 * Calls the {@link #initializeProperties} method.<p>
 *
 * MimeBodyParts may be added later.
 *
 * @param    subtype    the MIME content subtype
 */
public MimeMultipart(String subtype) {
super();
/*
 * Compute a boundary string.
 */
String boundary = UniqueValue.getUniqueBoundaryValue();
ContentType cType = new ContentType("multipart", subtype, null);
cType.setParameter("boundary", boundary);
contentType = cType.toString();
initializeProperties();
}

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

/**
 * Construct a MimeMultipart object of the given subtype.
 * A unique boundary string is generated and this string is
 * setup as the "boundary" parameter for the 
 * <code>contentType</code> field.
 * Calls the {@link #initializeProperties} method.<p>
 *
 * MimeBodyParts may be added later.
 *
 * @param    subtype    the MIME content subtype
 */
public MimeMultipart(String subtype) {
super();
/*
 * Compute a boundary string.
 */
String boundary = UniqueValue.getUniqueBoundaryValue();
ContentType cType = new ContentType("multipart", subtype, null);
cType.setParameter("boundary", boundary);
contentType = cType.toString();
initializeProperties();
}

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

return;
initializeProperties();

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

return;
initializeProperties();

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

/**
 * Construct a MimeMultipart object of the given subtype.
 * A unique boundary string is generated and this string is
 * setup as the "boundary" parameter for the 
 * <code>contentType</code> field.
 * Calls the {@link #initializeProperties} method.<p>
 *
 * MimeBodyParts may be added later.
 *
 * @param    subtype    the MIME content subtype
 */
public MimeMultipart(String subtype) {
super();
/*
 * Compute a boundary string.
 */
String boundary = UniqueValue.getUniqueBoundaryValue();
ContentType cType = new ContentType("multipart", subtype, null);
cType.setParameter("boundary", boundary);
contentType = cType.toString();
initializeProperties();
}

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

/**
 * Construct a MimeMultipart object of the given subtype.
 * A unique boundary string is generated and this string is
 * setup as the "boundary" parameter for the 
 * <code>contentType</code> field.
 * Calls the {@link #initializeProperties} method.<p>
 *
 * MimeBodyParts may be added later.
 *
 * @param    subtype    the MIME content subtype
 */
public MimeMultipart(String subtype) {
super();
/*
 * Compute a boundary string.
 */
String boundary = UniqueValue.getUniqueBoundaryValue();
ContentType cType = new ContentType("multipart", subtype, null);
cType.setParameter("boundary", boundary);
contentType = cType.toString();
initializeProperties();
}

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

/**
 * Construct a MimeMultipart object of the given subtype.
 * A unique boundary string is generated and this string is
 * setup as the "boundary" parameter for the 
 * <code>contentType</code> field.
 * Calls the {@link #initializeProperties} method.<p>
 *
 * MimeBodyParts may be added later.
 *
 * @param    subtype    the MIME content subtype
 */
public MimeMultipart(String subtype) {
super();
/*
 * Compute a boundary string.
 */
String boundary = UniqueValue.getUniqueBoundaryValue();
ContentType cType = new ContentType("multipart", subtype, null);
cType.setParameter("boundary", boundary);
contentType = cType.toString();
initializeProperties();
}

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

/**
 * Construct a MimeMultipart object of the given subtype.
 * A unique boundary string is generated and this string is
 * setup as the "boundary" parameter for the 
 * <code>contentType</code> field.
 * Calls the {@link #initializeProperties} method.<p>
 *
 * MimeBodyParts may be added later.
 *
 * @param    subtype    the MIME content subtype
 */
public MimeMultipart(String subtype) {
super();
/*
 * Compute a boundary string.
 */
String boundary = UniqueValue.getUniqueBoundaryValue();
ContentType cType = new ContentType("multipart", subtype, null);
cType.setParameter("boundary", boundary);
contentType = cType.toString();
initializeProperties();
}

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

/**
 * Construct a MimeMultipart object of the given subtype.
 * A unique boundary string is generated and this string is
 * setup as the "boundary" parameter for the 
 * <code>contentType</code> field.
 * Calls the {@link #initializeProperties} method.<p>
 *
 * MimeBodyParts may be added later.
 *
 * @param    subtype    the MIME content subtype
 */
public MimeMultipart(String subtype) {
super();
/*
 * Compute a boundary string.
 */
String boundary = UniqueValue.getUniqueBoundaryValue();
ContentType cType = new ContentType("multipart", subtype, null);
cType.setParameter("boundary", boundary);
contentType = cType.toString();
initializeProperties();
}

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

/**
 * Construct a MimeMultipart object of the given subtype.
 * A unique boundary string is generated and this string is
 * setup as the "boundary" parameter for the 
 * <code>contentType</code> field.
 * Calls the {@link #initializeProperties} method.<p>
 *
 * MimeBodyParts may be added later.
 *
 * @param    subtype    the MIME content subtype
 */
public MimeMultipart(String subtype) {
super();
/*
 * Compute a boundary string.
 */
String boundary = UniqueValue.getUniqueBoundaryValue();
ContentType cType = new ContentType("multipart", subtype, null);
cType.setParameter("boundary", boundary);
contentType = cType.toString();
initializeProperties();
}

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

return;
initializeProperties();

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

return;
initializeProperties();

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

return;
initializeProperties();

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

return;
initializeProperties();

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

return;
initializeProperties();

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

return;
initializeProperties();

相关文章