Constructor and Description |
---|
DeferredFileMailData(org.subethamail.smtp.io.DeferredFileOutputStream deferredFileOutputStream)
Constructs a new DeferredFileMailData so that it contains the message
content residing in the specified stream.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Releases resources, like temporary files.
|
java.io.InputStream |
getInputStream()
Returns the data stream positioned to the first byte of the mail data.
|
void |
writeTo(java.io.OutputStream out)
Copies the message content into the supplied stream.
|
public DeferredFileMailData(org.subethamail.smtp.io.DeferredFileOutputStream deferredFileOutputStream)
deferredFileOutputStream
- The stream containing the message content.public java.io.InputStream getInputStream()
MailData
getInputStream
in interface MailData
public void writeTo(java.io.OutputStream out) throws java.io.IOException
MailData