public class MimeTreeRenderer
extends java.lang.Object
addMimePartRenderer(MimePartRenderer)
.
Modifier and Type | Method and Description |
---|---|
void |
addMimePartRenderer(MimePartRenderer renderer)
Adds a MimePartRenderer.
|
static MimeTreeRenderer |
getInstance()
Gets the singleton instance.
|
java.io.InputStream |
renderMimePart(MimePart part)
Renders a MimePart.
|
java.io.InputStream |
renderMimeTree(MimeTree tree)
Renders a MimeTree.
|
public void addMimePartRenderer(MimePartRenderer renderer)
renderer
- the new mimepartrendererpublic static MimeTreeRenderer getInstance()
public java.io.InputStream renderMimeTree(MimeTree tree) throws java.lang.Exception
tree
- the mimetree to renderjava.lang.Exception
public java.io.InputStream renderMimePart(MimePart part) throws java.lang.Exception
part
- the mimepart to renderjava.lang.Exception
Copyright © 2021. All Rights Reserved.