Package bitel.billing.server.util
Class MailMsg.BGMultipart
java.lang.Object
javax.mail.Multipart
javax.mail.internet.MimeMultipart
bitel.billing.server.util.MailMsg.BGMultipart
- Enclosing class:
- MailMsg
public static class MailMsg.BGMultipart
extends javax.mail.internet.MimeMultipart
хелпер для конструирования мультипарта с текстом и любыми вложениями
-
Field Summary
Fields inherited from class javax.mail.internet.MimeMultipart
allowEmpty, complete, ds, ignoreExistingBoundaryParameter, ignoreMissingBoundaryParameter, ignoreMissingEndBoundary, parsed, preamble
Fields inherited from class javax.mail.Multipart
contentType, parent, parts
-
Constructor Summary
-
Method Summary
Methods inherited from class javax.mail.internet.MimeMultipart
addBodyPart, addBodyPart, createInternetHeaders, createMimeBodyPart, createMimeBodyPart, getBodyPart, getBodyPart, getCount, getPreamble, initializeProperties, isComplete, parse, removeBodyPart, removeBodyPart, setPreamble, setSubType, updateHeaders, writeTo
Methods inherited from class javax.mail.Multipart
getContentType, getParent, setMultipartDataSource, setParent
-
Constructor Details
-
BGMultipart
public BGMultipart()
-
-
Method Details
-
addText
- Throws:
javax.mail.MessagingException
-
addFile
public MailMsg.BGMultipart addFile(String filename, String contentType, InputStream is) throws javax.mail.MessagingException - Throws:
javax.mail.MessagingException
-