|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.mail.embed.MimeBodyPartReference
public final class MimeBodyPartReference
A reference to a designated MIME body part and an RFC 2392 compliant way to locate it within the HTML body part the same email.
Constructor Summary | |
---|---|
MimeBodyPartReference(javax.activation.DataSource source)
|
Method Summary | |
---|---|
java.net.URI |
getLocator()
Locates the designated body part within the HTML body part of an email. |
javax.activation.DataSource |
getSource()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MimeBodyPartReference(javax.activation.DataSource source)
Method Detail |
---|
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 data
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |