Class MimeBodyPartReference
- java.lang.Object
-
- com.atlassian.confluence.mail.embed.MimeBodyPartReference
-
-
Constructor Summary
Constructors Constructor Description MimeBodyPartReference(javax.activation.DataSource source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URI
getLocator()
Locates the designated body part within the HTML body part of an email.javax.activation.DataSource
getSource()
-
-
-
Method Detail
-
getLocator
public URI getLocator()
Locates the designated body part within the HTML body part of an email.This locator will use the
cid:
URL scheme as defined in RFC 2392. It's meant to be used within thesrc
attribute ofimg
tags within the HTML body part of the same email.<img src=\"" + myMimeBodyPartReference.getLocator().toExternalForm() + "\"/>
- Returns:
- locates the designated body part within the HTML
-
getSource
public javax.activation.DataSource getSource()
- Returns:
- a
DataSource
encapsulating the access to the image data
-
-