public interface SmimeObject
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
generateContentType()
Returns the content type of this smime object.
|
java.lang.String |
generateContentType(boolean useStandardContentTypes)
Returns the content type of this smime object.
|
void |
writeTo(java.io.OutputStream os, java.lang.String mimeType)
Output this object to the specified output stream.
|
java.lang.String generateContentType(boolean useStandardContentTypes)
useStandardContentTypes - If true the standard content type is generated; If false the experimental content type is generated.java.lang.String generateContentType()
void writeTo(java.io.OutputStream os,
java.lang.String mimeType)
throws java.io.IOException,
MessagingException
os - The output stream.mimeType - The mime-type of the smime object.java.io.IOException - An I/O error occurred.MessagingException - An error occurred while writing the smime message.