|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aurigalogic.aurigadoc.util.MHTCompiler
This class is the used for processing the generated html file to create a web archive (.MHT) file
Constructor Summary | |
MHTCompiler(java.lang.String inputFile,
java.lang.String outputFile)
Constructor. |
Method Summary | |
void |
compile()
Compiles the mht file. |
void |
setBcc(java.lang.String bcc)
Sets the email address to use in the Bcc field. |
void |
setCc(java.lang.String cc)
Sets the email address to use in the Cc field. |
void |
setFrom(java.lang.String from)
Sets the from email address. |
void |
setSendMail(boolean sendMail)
Sets the flg indicating whether to also send the output as mail. |
void |
setSmtp(java.lang.String smtp)
Sets the smtp host for sending mail. |
void |
setSubject(java.lang.String subject)
Sets the subject for the mail. |
void |
setTo(java.lang.String to)
Sets the email address To use in the to field. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MHTCompiler(java.lang.String inputFile, java.lang.String outputFile)
inputFile
- - input file pathoutputFile
- - the output file pathMethod Detail |
public void setFrom(java.lang.String from)
from
- the email address to use in From field.public void setTo(java.lang.String to)
to
- comma seperated list of email addresses
to use in the to field.public void setSubject(java.lang.String subject)
subject
- the mail subject.public void setCc(java.lang.String cc)
cc
- comma seperated list of email addresses.public void setBcc(java.lang.String bcc)
bcc
- comma seperated list of email addresses.public void setSmtp(java.lang.String smtp)
smtp
- smtp host.public void setSendMail(boolean sendMail)
sendMail
- whether to send mailpublic void compile() throws java.lang.Exception
java.lang.Exception
- if an error occurs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |