public final class MimeBodyPartReference
extends java.lang.Object
Constructor and Description |
---|
MimeBodyPartReference(javax.activation.DataSource source) |
Modifier and Type | Method and Description |
---|---|
java.net.URI |
getLocator()
Locates the designated body part within the HTML body part of an email.
|
javax.activation.DataSource |
getSource() |
public MimeBodyPartReference(javax.activation.DataSource source)
public java.net.URI getLocator()
cid:
URL scheme as defined in RFC 2392. It's meant to be used
within the src
attribute of img
tags within the HTML body part of the same email.
<img src=\"" + myMimeBodyPartReference.getLocator().toExternalForm() + "\"/>
public javax.activation.DataSource getSource()
DataSource
encapsulating the access to the image dataCopyright © 2003-2014 Atlassian. All Rights Reserved.