public class ExportInfo
extends java.lang.Object
ExportInfo
class is used for exporting. It contains all the
information for exporting report results.Constructor and Description |
---|
ExportInfo()
Constructs the information of exporting task.
|
ExportInfo(java.lang.String reportName)
Constructs the information of exporting task.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFileName()
Gets the output file name with full path.
|
int[] |
getPageNums()
Gets the page numbers of report result that will be exported.
|
int[][] |
getPageRange()
Gets the exported page ranges of report result.
|
java.lang.String |
getReportName()
Gets the report instance name.
|
java.lang.String |
getRstName()
Gets the Logi Report Result (RST) filename.
|
java.io.OutputStream |
getStream()
Gets the output stream which report result exported to.
|
java.lang.String |
getViewName()
Gets the view instance name of view that will be exported.
|
void |
setFileName(java.lang.String fileName)
Indicates the output file name with full path.
|
void |
setPageNums(int[] pageNums)
Indicates the page numbers of report result that will be exported.
|
void |
setPageRange(int[][] pageRange)
Indicates the exported page ranges of report result.
|
void |
setReportName(java.lang.String rptName)
Indicates the report instance name of reportset that will be exported.
|
void |
setRstName(java.lang.String rstName)
Indicates the Logi Report Result (RST) filename with full file path.
|
void |
setStream(java.io.OutputStream stream)
Indicates the output stream which report result exported to.
|
void |
setViewName(java.lang.String viewName)
Indicates the view instance name of report that will be exported.
|
public ExportInfo()
public ExportInfo(java.lang.String reportName)
public void setPageNums(int[] pageNums)
pageNums
- Specifies the page numbers of report result that will be exported.
The page number start from 1 and end with the total page numbers of the result.public int[] getPageNums()
public void setReportName(java.lang.String rptName)
rptName
- the report instance name.public java.lang.String getReportName()
public void setViewName(java.lang.String viewName)
viewName
- Specifies the view instance name of view.public java.lang.String getViewName()
public void setRstName(java.lang.String rstName)
rstName
- the Logi Report Result file(.rst) name.public java.lang.String getRstName()
public void setFileName(java.lang.String fileName)
fileName
- Specifies the output file name.public java.lang.String getFileName()
public void setStream(java.io.OutputStream stream)
stream
- output stream which report result exported to.public java.io.OutputStream getStream()
public void setPageRange(int[][] pageRange)
pageRange
- the exported page ranges of report.PDFParameter
public int[][] getPageRange()