|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.bean.MailInformation
public class MailInformation
A MailInformation object contains a complete information for a mail
| Field Summary | |
|---|---|
static int |
HIDDEN
Indicates the html text overflow type is HIDDEN. |
static int |
HTMLFILE
The constant indicating that html format file as the mail attached file(s) |
static int |
HTMLMAIL
The constant indicating that html file in mail body |
static int |
IE
browser type |
static int |
NETSCAPE
browser type |
static int |
PDFFILE
The constant indicating that Pdf format file as the mail attached file |
static int |
PLAINTXT
The constant indicating that the text format file as the mail attached file, the file can be a normal text or delimited text by invoking this method jet.bean.TextParameter.setNormalTextFile(boolean) to specify
which format text would be produced |
static int |
PRECISION_ANY
The constant indicating that the layout precise is any value, low or high |
static int |
PRECISION_HIGH
The constant indicating that the layout precise is high |
static int |
PRECISION_LOW
The constant indicating that the layout precise is low |
static int |
PSFILE
The constant indicating that postscript format file as the mail attached file |
static int |
RSTFILE
The constant indicating that Rst format file as the mail attached file |
static int |
RTFFILE
The constant indicating that Rtf format file as the mail attached file |
static int |
TXTMAIL
The constant indicating that Text file in mail body |
static int |
VISIBLE
Indicates the html text overflow type is VISIBLE. |
static int |
XLSFILE
The constant indicating that excel format file as the mail attached file |
static int |
XMLFILE
The constant indicating that xml format file(s) as the mail attached file |
| Constructor Summary | |
|---|---|
MailInformation()
Constructs a new MailInformation object
and invoke other set method to set another paramter for export to mail needed |
|
MailInformation(java.lang.String from,
java.lang.String rcpt,
java.lang.String cc,
java.lang.String bcc,
java.lang.String subject,
java.lang.String comments)
Constructs a new MailInformation object with the following
parameters and invoke the following set method to set the attached file parameter |
|
MailInformation(java.lang.String from,
java.lang.String rcpt,
java.lang.String cc,
java.lang.String bcc,
java.lang.String subject,
java.lang.String comments,
boolean archiveCompress,
boolean bChartApplet,
boolean isMultiFile,
boolean bUsingTable,
boolean hyperlink,
boolean pageno,
boolean absolute,
boolean bincdrilldownfile,
boolean noMarginHtml,
int browser,
int udchWidth,
int udchHeight,
int resolution,
boolean compress,
boolean bRepeat,
boolean quoteMark,
boolean hasHeadFoot,
char delimiter,
boolean noMarginPDF,
boolean isPrintMode,
boolean isTransparent,
int isCompressImage,
boolean noMarginPS,
boolean noMarginRTF,
boolean isOnlyData,
java.lang.String xsdFile,
int isWordWrap,
boolean isBiff8,
boolean bToc,
boolean bDrill,
java.lang.String encoding)
Deprecated. please use MailInformation() or MailInformation(String, String, String, String, String, String) |
|
| Method Summary | |
|---|---|
void |
clear()
clear another file instance |
MailInformation |
copy()
Add this method for server group invoke it |
java.lang.String |
getBlindCarbonCopy()
Gets the mail address of the blind copy recipient. |
java.lang.String |
getCarbonCopy()
Gets the mail address of the carbon copy recipient. |
java.lang.String |
getComments()
Gets text string for memoire. |
java.lang.String |
getEncoding()
Gets the encoding of the mail. |
ExcelParameter |
getExcelParameter()
get the excel parameter, it include the parameter when produce excel file needed |
java.lang.String |
getFilename()
Gets the compressed filename |
java.lang.String |
getFileName(int format)
according to the format get the filename |
java.lang.String |
getFilenameFmt()
for server store the zip(template) name |
java.lang.String |
getFolder()
Gets the directory of saved files. |
HtmlParameter |
getHtmlParameter(int type)
get the html parameter, it include the parameter when produce html file needed |
long |
getLimitSize()
Gets the limited file length |
java.lang.String[] |
getMailAuthencatorMessage()
get the mail authencator message |
java.lang.String |
getMailFileNameFmt(int format)
Only for inner group to store the template name, please another group do not invoke it |
boolean |
getMailFormat(int format)
get the flag whether this format is mailbody or attached file |
java.lang.String |
getMailFrom()
Gets the mail address of the sender. |
java.lang.String |
getMailTo()
Gets the mail address of the mail recipient. |
java.util.Vector |
getOtherAttachedFile()
get another attached files |
PDFParameter |
getPDFParameters()
get the pdf parameter, it include the parameter when produce pdf file needed |
int |
getPrecise(int format)
get the flag which index format file precise value, its value should be: PRECISION_HIGHPRECISION_LOWPRECISION_ANY |
PSParameter |
getPSParameter()
get the ps parameter, it include the parameter when produce ps file needed |
java.lang.String |
getRSTFileName()
Get the rst file name |
RtfParameter |
getRtfParameter()
get the rtf parameter, it include the parameter when produce rtf file needed |
java.lang.String |
getSubject()
Gets the mail subject. |
TextParameter |
getTextParameter(int format)
get the text parametr according to the format |
java.lang.String |
getURL()
Deprecated. This method is not used, now. Next version will remove it. If you have some question, please contact with sales |
XmlParameter |
getXmlParameter()
get the xml parameter, it include the parameter when produce xml file needed |
boolean |
isArchiveCompress()
|
boolean |
isAuthencator()
Index whether send mail with authencator format |
boolean |
isCompressedRST()
get the flag that identify the RST file is compressed format or not |
boolean |
isRSTFile()
Identify whether the attached file include RST file or not |
boolean |
isSendNotice()
Gets that whether send a mail to notice user |
boolean |
isSentMail()
Gets that whether has sent the mail with attachment |
void |
setAbsoluteFontSize(boolean absolute)
Deprecated. please use setHtmlParameter(int, HtmlParameter) replace this method |
void |
setArchiveCompress(boolean archiveCompress)
Sets whether or not to compress mail attached by using java compress utilities. |
void |
setAuthencatorMessage(java.lang.String username,
java.lang.String passWord,
java.lang.String fromAddress)
Set the authencator message, if you invoke this method will use authencator format, so if SMTP don't need authencator format, please do not invoke this method, otherwise may be can not send successfully |
void |
setBlindCarbonCopy(java.lang.String bcc)
Sets the mail address of the blind copy recipient. |
void |
setBrowser(int browser)
Deprecated. please use setHtmlParameter(int, HtmlParameter) replace this method |
void |
setCarbonCopy(java.lang.String cc)
Sets the mail address of the carbon copy recipient. |
void |
setCharHeight(int udchHeight)
Deprecated. please use setTextParameter(TextParameter) replace this method |
void |
setChartappletHtml(boolean bChartApplet)
Deprecated. please use setHtmlParameter(int, HtmlParameter) replace this method |
void |
setCharWidth(int udchWidth)
Deprecated. please use setTextParameter(TextParameter) replace this method |
void |
setComments(java.lang.String comments)
Sets text string for memoire. |
void |
setCompressImage(int isCompressImage)
Deprecated. please use setPDFParameters(PDFParameter) replace this method |
void |
setCompressText(boolean compress)
Deprecated. please use setTextParameter(TextParameter) replace this method |
void |
setDelimiter(char delimiter)
Deprecated. please use setTextParameter(TextParameter) replace this method |
void |
setDrill(boolean bDrill)
Deprecated. please use setPDFParameters(PDFParameter) replace this method |
void |
setDrillDownHtml(boolean bincdrilldownfile)
Deprecated. please use setHtmlParameter(int, HtmlParameter) replace this method |
void |
setEncoding(java.lang.String encoding)
Sets the encoding of the mail. |
void |
setExcelParam(int param)
Deprecated. please use setExcelParameter(ExcelParameter) replace this method |
void |
setExcelParameter(ExcelParameter excelParameter)
set the excel parameter, it include the parameter when produce excel file needed |
void |
setExcelParameter(java.lang.String filename,
ExcelParameter excelParameter)
set the filename and its parameter to the excel file |
void |
setFilename(java.lang.String filename)
Sets the compressed attached file name |
void |
setFilenameFmt(java.lang.String filenameFmt)
for server store the zip(template) name |
void |
setFolder(java.lang.String folder)
Sets the path saved files. |
void |
setForWindows(boolean forWindows)
Deprecated. please use setTextParameter(TextParameter) replace this method |
void |
setHtmlChartImageFormat(int chartImageFormatType)
Deprecated. please use setHtmlParameter(int, HtmlParameter) replace this method |
void |
setHtmlParameter(int type,
HtmlParameter htmlParameter)
Set the html parameter, it include the parameter when produce html file needed |
void |
setHtmlParameter(int type,
java.lang.String fileName,
HtmlParameter htmlParameter)
set the html parameter and the fileName |
void |
setHtmlResolution(int resolution)
Deprecated. please use setHtmlParameter(int, HtmlParameter) replace this method |
void |
setHyperlink(boolean hyperlink)
Deprecated. please use setHtmlParameter(int, HtmlParameter) replace this method |
void |
setIsBiff8(boolean isBiff8)
Deprecated. please use setExcelParameter(ExcelParameter) replace this method |
void |
setKeepHeadFoot(boolean hasHeadFoot)
Deprecated. please use setTextParameter(TextParameter) replace this method |
void |
setLimitSize(long smtpMaxSize)
Sets the total limited file length, if the length of all attached files is greater than the specify value, the files will not be sent out. |
void |
setMailFileNameFmt(int format,
java.lang.String fileNameFmt)
Only for inner group to store the template name, please another group do not invoke it |
void |
setMailFormat(int format,
boolean value)
Sets the format of the mail. |
void |
setMailFrom(java.lang.String from)
Sets the mail address of the sender. |
void |
setMailTo(java.lang.String rcpt)
Sets the mail address of the recipient. |
void |
setMultiFileHtml(boolean isMultiFile)
Deprecated. please use setHtmlParameter(int, HtmlParameter) replace this method |
void |
setNoMarginHtml(boolean noMarginHtml)
Deprecated. please use setHtmlParameter(int, HtmlParameter) replace this method |
void |
setNoMarginPDF(boolean noMarginPDF)
Deprecated. please use setPDFParameters(PDFParameter) replace this method |
void |
setNoMarginPS(boolean noMarginPS)
Deprecated. please use setPSParameter(PSParameter) replace this method |
void |
setNoMarginRTF(boolean noMarginRTF)
Deprecated. please use setRtfParameter(RtfParameter) replace this method |
void |
setOnlyDataXML(boolean isOnlyData)
Deprecated. please use setXmlParameter(XmlParameter) replace this method |
void |
setOtherAttachedFile(java.util.Vector other)
set another file, like version file RST file |
void |
setOverflowType(int overflowType)
Deprecated. please use setHtmlParameter(int, HtmlParameter) replace this method |
void |
setPageNumber(boolean pageno)
Deprecated. please use setHtmlParameter(int, HtmlParameter) replace this method |
void |
setPDFParameters(PDFParameter pdfParameter)
Set the pdf parameter, it include the parameter when produce pdf file needed |
void |
setPDFParameters(java.lang.String fileName,
PDFParameter pdfParameter)
set the pdf parameter and the file name |
void |
setPdfPassword(java.lang.String pdfPassword)
Deprecated. please use setPDFParameters(PDFParameter) replace this method |
void |
setPrecise(int format,
int precise)
set the flag precise to the format, its value must be: PRECISION_HIGHPRECISION_LOWPRECISION_ANY |
void |
setPrintModePDF(boolean isPrintMode)
Deprecated. please use setPDFParameters(PDFParameter) replace this method |
void |
setPSParameter(PSParameter psParameter)
set the ps parameter, it include the parameter when produce ps file needed |
void |
setPSParameter(java.lang.String fileName,
PSParameter psParameter)
set the ps parameter and the fileName |
void |
setQuoteMark(boolean quoteMark)
Deprecated. please use setTextParameter(TextParameter) replace this method |
void |
setRepeatText(boolean bRepeat)
Deprecated. please use setTextParameter(TextParameter) replace this method |
void |
setResolution(int resolution)
Deprecated. please use setTextParameter(TextParameter) replace this method |
void |
setRstAsCompressed(boolean isCompress)
set the flag that export the report as compressed format |
void |
setRSTFileName(java.lang.String rstFileName)
set the rst file name |
void |
setRtfParameter(RtfParameter rtfParameter)
set the rtf parameter, it include the parameter when produce rtf file needed |
void |
setRtfParameter(java.lang.String fileName,
RtfParameter rtfParameter)
set the rtf parameter and the file name |
void |
setSendNotice(boolean bSendNotice)
Indicates that whether send a mail to notice user or not |
void |
setSentMail(boolean isMailSend)
Indicates that whether has sent the mail with attachment. |
void |
setSubject(java.lang.String subject)
Sets the mail subject. |
void |
setTableFormatHtml(boolean bUsingTable)
Deprecated. this function have been removed it |
void |
setTextParameter(int format,
java.lang.String fileName,
TextParameter textParamter)
set the text paramter and the file name |
void |
setTextParameter(java.lang.String fileName,
TextParameter textParameter)
Deprecated. please use this method setTextParamter(int, String, TextParameter) replace it |
void |
setTextParameter(TextParameter textParameter)
Deprecated. please use this method setTextParamter(int, String, TextParameter) replace it |
void |
setToc(boolean bToc)
Deprecated. please use setPDFParameters(PDFParameter) replace this method |
void |
setTransparentImage(boolean isTransparent)
Deprecated. please use setPDFParameters(PDFParameter) replace this method |
void |
setURL(java.lang.String url)
Deprecated. This method is not used, now. Next version will remove it. If you have some question, please contact with sales |
void |
setWordWrap(int isWordWrap)
Deprecated. please use setExcelParameter(ExcelParameter) replace this method |
void |
setXmlParameter(java.lang.String fileName,
XmlParameter xmlParameter)
set the xml parameter and the fileName |
void |
setXmlParameter(XmlParameter xmlParameter)
set the xml parameter, it include the parameter when produce xml file needed |
boolean |
setXSDFile(java.lang.String xsdFile)
Deprecated. please use setXmlParameter(XmlParameter) replace this method |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int IE
public static final int NETSCAPE
public static final int VISIBLE
public static final int HIDDEN
public static final int PRECISION_HIGH
The constant indicating that the layout precise is high
This constant is used by the method setPrecise
public static final int PRECISION_LOW
The constant indicating that the layout precise is low
This constant is used by the method setPrecise
public static final int PRECISION_ANY
The constant indicating that the layout precise is any value, low or high
This constant is used by the method setPrecise
public static final int HTMLMAIL
The constant indicating that html file in mail body
This constant is used by the method setHtmlParameter and setMailFormat
TXTMAILpublic static final int PLAINTXT
The constant indicating that the text format file as the mail attached file,
the file can be a normal text or delimited text by invoking this method
jet.bean.TextParameter.setNormalTextFile(boolean) to specify
which format text would be produced
This constant is used by the method setTextParameter and setMailFormat
TextParameterpublic static final int HTMLFILE
The constant indicating that html format file as the mail attached file(s)
This constant is used by the method setHtmlParameter and setMailFormat
public static final int PDFFILE
The constant indicating that Pdf format file as the mail attached file
This constant is used by the method setMailFormat
public static final int RSTFILE
The constant indicating that Rst format file as the mail attached file
This constant is used by the method setMailFormat
public static final int PSFILE
The constant indicating that postscript format file as the mail attached file
This constant is used by the method setMailFormat
public static final int XLSFILE
The constant indicating that excel format file as the mail attached file
This constant is used by the method setMailFormat
public static final int RTFFILE
The constant indicating that Rtf format file as the mail attached file
This constant is used by the method setMailFormat
public static final int XMLFILE
The constant indicating that xml format file(s) as the mail attached file
This constant is used by the method setMailFormat
public static final int TXTMAIL
The constant indicating that Text file in mail body
This constant is used by the method setTextParameter and setMailFormat
HTMLMAIL| Constructor Detail |
|---|
public MailInformation()
Constructs a new MailInformation object
and invoke other set method to set another paramter for export to mail needed
Note: You must invoke these method setMailTo(String), setCarbonCopy(String)
or setBlindCarbonCopy(String) to set the mail address
setMailFrom(String),
setMailTo(String),
setCarbonCopy(String),
setBlindCarbonCopy(String),
setSubject(String),
setComments(String),
setHtmlParameter(int, HtmlParameter),
setHtmlParameter(int, String, HtmlParameter),
setPDFParameters(PDFParameter),
setPDFParameters(String, PDFParameter),
setTextParameter(int, String, TextParameter),
setPSParameter(PSParameter),
setPSParameter(String, PSParameter),
setXmlParameter(XmlParameter),
setXmlParameter(String, XmlParameter),
setExcelParameter(ExcelParameter),
setExcelParameter(String, ExcelParameter),
setRtfParameter(RtfParameter),
setRtfParameter(String, RtfParameter)
public MailInformation(java.lang.String from,
java.lang.String rcpt,
java.lang.String cc,
java.lang.String bcc,
java.lang.String subject,
java.lang.String comments)
Constructs a new MailInformation object with the following
parameters and invoke the following set method to set the attached file parameter
from - the address of the senderrcpt - the address of the receiptcc - copy to addressbcc - blind copy to addresssubject - the mail subjectcomments - any text string for memoire
Note:If the HTMLMAIL format is selected, the comments will be ignored
setHtmlParameter(int, HtmlParameter),
setHtmlParameter(int, String, HtmlParameter),
setPDFParameters(PDFParameter),
setPDFParameters(String, PDFParameter),
setTextParameter(int, String, TextParameter),
setPSParameter(PSParameter),
setPSParameter(String, PSParameter),
setXmlParameter(XmlParameter),
setXmlParameter(String, XmlParameter),
setExcelParameter(ExcelParameter),
setExcelParameter(String, ExcelParameter),
setRtfParameter(RtfParameter),
setRtfParameter(String, RtfParameter)
public MailInformation(java.lang.String from,
java.lang.String rcpt,
java.lang.String cc,
java.lang.String bcc,
java.lang.String subject,
java.lang.String comments,
boolean archiveCompress,
boolean bChartApplet,
boolean isMultiFile,
boolean bUsingTable,
boolean hyperlink,
boolean pageno,
boolean absolute,
boolean bincdrilldownfile,
boolean noMarginHtml,
int browser,
int udchWidth,
int udchHeight,
int resolution,
boolean compress,
boolean bRepeat,
boolean quoteMark,
boolean hasHeadFoot,
char delimiter,
boolean noMarginPDF,
boolean isPrintMode,
boolean isTransparent,
int isCompressImage,
boolean noMarginPS,
boolean noMarginRTF,
boolean isOnlyData,
java.lang.String xsdFile,
int isWordWrap,
boolean isBiff8,
boolean bToc,
boolean bDrill,
java.lang.String encoding)
from - the address of the senderrcpt - the address of the receiptcc - carbon copy to addressbcc - blind copy to addresssubject - the mail subjectcomments - any text string for memoirearchiveCompress - indicates whether use java compress utilities to compress
mail contentsbChartApplet - create chart as applet or image in html fileisMultiFile - generate multi=page or single page html filebUsingTable - generate table format html filehyperlink - create hyperlink in html when the html file is single page format.pageno - display page number in html when the html file is single page format.absolute - indicates the font size of html file is absolute or relative.bincdrilldownfile - indicates whether create drilldowned html filesnoMarginHtml - indicate that export html file without page Marginbrowser - The browser is IE or NETSCAPEudchWidth - the width for each unit of the width clearance between columns.udchHeight - the height for each unit of the height clearance between columns.resolution - set resolution for text file.compress - remove empty lines or redundant delimiters in the exported text file.bRepeat - indicates whether to repeat the same contents in text file.quoteMark - indicate whether to keep the quote character in standard format text or nothasHeadFoot - indicate that include the header and footer object when the text file as mail attached
filedelimiter - the delimiter used in the SDF(Standard Data Format) format text.noMarginPDF - indicate that export PDF file without page MarginisPrintMode - indicates to generate the pdf file use simulated print mode.isTransparent - indicates to generate the pdf file keep transparent gif image.isCompressImage - indicatess the image compress rate to generate the pdf file.noMarginPS - indicate that export Post Script file without page MarginnoMarginRTF - indicate that export RTF file without page MarginisOnlyData - indicate only database column information to XML file, else all the
detailed information of the report, including all the property value of each report object will be exported.encoding - mail encodingxsdFile - base the specified xsd output xml file.MailInformation(),
MailInformation(String, String, String, String, String, String)| Method Detail |
|---|
public final void setAuthencatorMessage(java.lang.String username,
java.lang.String passWord,
java.lang.String fromAddress)
username - the logon SMTP server user namepassWord - the logon SMTP passwordfromAddress - the user mail address in this SMTP serverpublic final java.lang.String[] getMailAuthencatorMessage()
public final boolean isAuthencator()
public void setMailFormat(int format,
boolean value)
format - available choice are :
value - true, set it as this format, false, cancel itHTMLMAIL,
HTMLFILE,
TXTMAIL,
PLAINTXT,
RSTFILE,
RTFFILE,
XLSFILE,
XMLFILE,
PSFILE
public void setPrecise(int format,
int precise)
format - the mail body or the attached file formatprecise - an int specifying the layout precise;
one of MailInformation.PRECISION_HIGH,
MailInformation.PRECISION_LOW, or
MailInformation.PRECISION_ANY.
the default value is PRECISION_ANYPRECISION_HIGH,
PRECISION_LOW,
PRECISION_ANYpublic int getPrecise(int format)
format - the mail body or the attached file format
PRECISION_HIGH,
PRECISION_LOW,
PRECISION_ANY
public void setMailFileNameFmt(int format,
java.lang.String fileNameFmt)
format - fileNameFmt - public java.lang.String getMailFileNameFmt(int format)
format - the attache file format
public boolean getMailFormat(int format)
format - the file format, like as HTMLMAIL....RTFFILE
public java.lang.String getFileName(int format)
format - the file format, like as HTMLMAIL....RTFFILE
public void setMailFrom(java.lang.String from)
from - the address of the sender.public java.lang.String getMailFrom()
public void setMailTo(java.lang.String rcpt)
rcpt - the address of the recipient, split each address with "," or ";"public java.lang.String getMailTo()
public void setCarbonCopy(java.lang.String cc)
cc - the address of the carbon copy recipient, split each address with "," or ";"public java.lang.String getCarbonCopy()
public void setBlindCarbonCopy(java.lang.String bcc)
bcc - the address of the blind copy recipient, split each address with "," or ";"public java.lang.String getBlindCarbonCopy()
public void setComments(java.lang.String comments)
comments - any text string for memoirepublic java.lang.String getComments()
public void setSubject(java.lang.String subject)
subject - the mail subject.public java.lang.String getSubject()
public void setArchiveCompress(boolean archiveCompress)
archiveCompress - the compress attachment flagpublic boolean isArchiveCompress()
public void setOtherAttachedFile(java.util.Vector other)
other - hold another attached file(s)public boolean isRSTFile()
public java.lang.String getRSTFileName()
public void setRSTFileName(java.lang.String rstFileName)
rstFileName - the attached Rst file namepublic boolean isCompressedRST()
public void setRstAsCompressed(boolean isCompress)
isCompress - the flag specify whether compress the Rst file or notpublic java.util.Vector getOtherAttachedFile()
public void setHtmlParameter(int type,
HtmlParameter htmlParameter)
htmlParameter - the parameter of produce the html file neededtype - the type should be HTMLFILE or HTMLMAILsetHtmlParameter(int, String, HtmlParameter)
public void setHtmlParameter(int type,
java.lang.String fileName,
HtmlParameter htmlParameter)
type - the type will HTMLFILE or HTMLMAILfileName - the html fileNamehtmlParameter - the parameter of produce the html file neededHtmlParameterpublic HtmlParameter getHtmlParameter(int type)
type - the type will HTMLFILE or HTMLMAIL
public void setOverflowType(int overflowType)
overflowType - html text overflow typesetHtmlParameter(int, HtmlParameter)public void setChartappletHtml(boolean bChartApplet)
setHtmlParameter(int, HtmlParameter)public void setMultiFileHtml(boolean isMultiFile)
setHtmlParameter(int, HtmlParameter)public void setTableFormatHtml(boolean bUsingTable)
public void setHyperlink(boolean hyperlink)
setHtmlParameter(int, HtmlParameter)public void setPageNumber(boolean pageno)
setHtmlParameter(int, HtmlParameter)public void setAbsoluteFontSize(boolean absolute)
setHtmlParameter(int, HtmlParameter)public void setDrillDownHtml(boolean bincdrilldownfile)
setHtmlParameter(int, HtmlParameter)public void setNoMarginHtml(boolean noMarginHtml)
setHtmlParameter(int, HtmlParameter)public void setBrowser(int browser)
setHtmlParameter(int, HtmlParameter)public void setHtmlResolution(int resolution)
resolution - the resolution value of html file.setHtmlParameter(int, HtmlParameter)public void setHtmlChartImageFormat(int chartImageFormatType)
setHtmlParameter(int, HtmlParameter)public void setTextParameter(TextParameter textParameter)
textParameter - produce the text file needed parameteresetTextParameter(int, String, TextParameter)
public void setTextParameter(int format,
java.lang.String fileName,
TextParameter textParamter)
format - it sould be TXTMAIL or PLAINTXTfileName - the file name of the attached filetextParamter - the need paramter which export to the report to text file
note: If the format is not PLAINTXT or TXTMAIL,
this method can not take affectPLAINTXT,
TXTMAIL,
TextParameter
public void setTextParameter(java.lang.String fileName,
TextParameter textParameter)
fileName - the attached file nametextParameter - produce the text file needed parametersetTextParameter(int, String, TextParameter)public TextParameter getTextParameter(int format)
format -
public void setForWindows(boolean forWindows)
setTextParameter(TextParameter)public void setCharWidth(int udchWidth)
setTextParameter(TextParameter)public void setCharHeight(int udchHeight)
setTextParameter(TextParameter)public void setResolution(int resolution)
setTextParameter(TextParameter)public void setCompressText(boolean compress)
setTextParameter(TextParameter)public void setRepeatText(boolean bRepeat)
setTextParameter(TextParameter)public void setQuoteMark(boolean quoteMark)
setTextParameter(TextParameter)public void setKeepHeadFoot(boolean hasHeadFoot)
setTextParameter(TextParameter)public void setDelimiter(char delimiter)
setTextParameter(TextParameter)public void setPDFParameters(PDFParameter pdfParameter)
pdfParameter - produce the Pdf file needed parametersetPDFParameters(String, PDFParameter)
public void setPDFParameters(java.lang.String fileName,
PDFParameter pdfParameter)
fileName - the attached file namepdfParameter - produce the Pdf file needed parameterPDFParameterpublic PDFParameter getPDFParameters()
public void setPdfPassword(java.lang.String pdfPassword)
pdfPassword - the password stringsetPDFParameters(PDFParameter)public void setToc(boolean bToc)
bToc - setPDFParameters(PDFParameter)public void setDrill(boolean bDrill)
bDrill - setPDFParameters(PDFParameter)public void setNoMarginPDF(boolean noMarginPDF)
setPDFParameters(PDFParameter)public void setPrintModePDF(boolean isPrintMode)
setPDFParameters(PDFParameter)public void setTransparentImage(boolean isTransparent)
setPDFParameters(PDFParameter)public void setCompressImage(int isCompressImage)
setPDFParameters(PDFParameter)public void setPSParameter(PSParameter psParameter)
psParameter - produce the Postscript file needed parametersetPSParameter(String, PSParameter)
public void setPSParameter(java.lang.String fileName,
PSParameter psParameter)
fileName - the attached file namepsParameter - produce the Postscript file needed parameterPSParameterpublic PSParameter getPSParameter()
public void setNoMarginPS(boolean noMarginPS)
setPSParameter(PSParameter)public void setRtfParameter(RtfParameter rtfParameter)
rtfParameter - produce the Rtf file needed parametersetRtfParameter(String, RtfParameter)
public void setRtfParameter(java.lang.String fileName,
RtfParameter rtfParameter)
fileName - the attached file namertfParameter - produce the Rtf file needed parameterRtfParameterpublic RtfParameter getRtfParameter()
public void setNoMarginRTF(boolean noMarginRTF)
setRtfParameter(RtfParameter)public void setXmlParameter(XmlParameter xmlParameter)
xmlParameter - XmlParameter
public void setXmlParameter(java.lang.String fileName,
XmlParameter xmlParameter)
fileName - the attached file namexmlParameter - prduce the xml needed parametersetXmlParameter(String, XmlParameter)public XmlParameter getXmlParameter()
public void setOnlyDataXML(boolean isOnlyData)
setXmlParameter(XmlParameter)public boolean setXSDFile(java.lang.String xsdFile)
xsdFile -
setXmlParameter(XmlParameter)public void setExcelParameter(ExcelParameter excelParameter)
excelParameter - produce the excel needed parametersetExcelParameter(String, ExcelParameter)
public void setExcelParameter(java.lang.String filename,
ExcelParameter excelParameter)
filename - the attached file nameexcelParameter - produce the excel needed parameterExcelParameterpublic ExcelParameter getExcelParameter()
public void setIsBiff8(boolean isBiff8)
isBiff8 - setExcelParameter(ExcelParameter)public void setWordWrap(int isWordWrap)
setExcelParameter(ExcelParameter)public void setExcelParam(int param)
setExcelParameter(ExcelParameter)public void setEncoding(java.lang.String encoding)
encoding - encoding name
NOTICE: if the encoding in communicator isn't null will can not use itpublic java.lang.String getEncoding()
public void setFolder(java.lang.String folder)
folder - directory name
Note: If you invoke this method to give the folder, we would produce
the file(s) to it and store itpublic java.lang.String getFolder()
public void setFilename(java.lang.String filename)
filename - file name without extendpublic java.lang.String getFilename()
public void setFilenameFmt(java.lang.String filenameFmt)
filenameFmt - the comprss attached file name if need compress
the attached the filepublic java.lang.String getFilenameFmt()
public void setLimitSize(long smtpMaxSize)
smtpMaxSize - specify the max value of attached files's length, its unit is Kpublic long getLimitSize()
public void setURL(java.lang.String url)
url - public java.lang.String getURL()
public void setSendNotice(boolean bSendNotice)
bSendNotice - if notice user, set true; otherwise, falsepublic boolean isSendNotice()
public void setSentMail(boolean isMailSend)
isMailSend - if notice user, set true; otherwise, falsepublic boolean isSentMail()
public void clear()
public MailInformation copy()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||