| Constructor and Description |
|---|
MimeBodyPartReference(DataSource source) |
| Modifier and Type | Method and Description |
|---|---|
URI |
getLocator()
Locates the designated body part within the HTML body part of an email.
|
DataSource |
getSource() |
public MimeBodyPartReference(DataSource source)
public URI getLocator()
This locator will use the 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 DataSource getSource()
DataSource encapsulating the access to the image dataCopyright © 2003–2021 Atlassian. All rights reserved.