Class MailBodyCreationContext
- java.lang.Object
-
- com.levigo.jadice.server.mail.worker.internal.util.MailBodyCreationContext
-
public class MailBodyCreationContext extends Object
-
-
Constructor Summary
Constructors Constructor Description MailBodyCreationContext(NodeWorker worker, QualifiedLogEventReceiver qualifiedLogEventReceiver, StreamDescriptor headerInfo, int assumedAttachmentOffset, MailBodyCreatorNode node, String language, boolean hasAttachments, AttachmentDirectory attachmentDirectory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
closeAllOpenDocuments()
int
getAssumedAttachmentOffset()
AttachmentDirectory
getAttachmentDirectory()
StreamDescriptor
getHeaderInfo()
String
getLanguage()
MailBodyCreatorNode
getNode()
List<org.apache.pdfbox.pdmodel.PDDocument>
getPdDocumentHandlesThatShallBeClosed()
QualifiedLogEventReceiver
getQualifiedLogEventReceiver()
NodeWorker
getWorker()
boolean
isHasAttachments()
void
setLanguage(String language)
-
-
-
Constructor Detail
-
MailBodyCreationContext
public MailBodyCreationContext(NodeWorker worker, QualifiedLogEventReceiver qualifiedLogEventReceiver, StreamDescriptor headerInfo, int assumedAttachmentOffset, MailBodyCreatorNode node, String language, boolean hasAttachments, AttachmentDirectory attachmentDirectory)
-
-
Method Detail
-
getWorker
public NodeWorker getWorker()
-
getQualifiedLogEventReceiver
public QualifiedLogEventReceiver getQualifiedLogEventReceiver()
-
getHeaderInfo
public StreamDescriptor getHeaderInfo()
-
getAssumedAttachmentOffset
public int getAssumedAttachmentOffset()
-
getNode
public MailBodyCreatorNode getNode()
-
getLanguage
public String getLanguage()
-
setLanguage
public void setLanguage(String language)
-
isHasAttachments
public boolean isHasAttachments()
-
getAttachmentDirectory
public AttachmentDirectory getAttachmentDirectory()
-
getPdDocumentHandlesThatShallBeClosed
public List<org.apache.pdfbox.pdmodel.PDDocument> getPdDocumentHandlesThatShallBeClosed()
-
closeAllOpenDocuments
public void closeAllOpenDocuments()
-
-