public class LocalMimePart extends StreamableMimePart
Source
Constructor and Description |
---|
LocalMimePart(MimeHeader header)
Constructs the LocalMimePart.
|
LocalMimePart(MimeHeader header,
Source body)
Constructs the LocalMimePart.
|
LocalMimePart(MimeHeader header,
Source body,
boolean alreadyEncoded)
Constructs the LocalMimePart.
|
Modifier and Type | Method and Description |
---|---|
Source |
getBody() |
java.io.InputStream |
getInputStream()
Gets an InputStream of the mimeparts body.
|
Source |
getSource() |
void |
setBody(Source body) |
void |
setBody(Source body,
boolean alreadyEncoded) |
void |
setSource(Source source)
Set the source.
|
addChild, count, countChilds, getAddress, getChild, getChilds, getHeader, getNumber, getParent, getSize, isAlreadyEncoded, setHeader, setParent, setSize
public LocalMimePart(MimeHeader header)
header
- public LocalMimePart(MimeHeader header, Source body)
header
- body
- public LocalMimePart(MimeHeader header, Source body, boolean alreadyEncoded)
header
- body
- public Source getSource()
public void setSource(Source source)
source
- public java.io.InputStream getInputStream()
Streamable.getInputStream()
public Source getBody()
public void setBody(Source body)
body
- The body to set.public void setBody(Source body, boolean alreadyEncoded)
body
- The body to set.Copyright © 2021. All Rights Reserved.