Class JRExporterParameter
- java.lang.Object
-
- net.sf.jasperreports.engine.JRExporterParameter
-
- Direct Known Subclasses:
JRCsvExporterParameter
,JRDocxExporterParameter
,JRGraphics2DExporterParameter
,JRHtmlExporterParameter
,JROpenDocumentExporterParameter
,JRPdfExporterParameter
,JRPrintServiceExporterParameter
,JRTextExporterParameter
,JRXlsAbstractExporterParameter
,JRXmlExporterParameter
,JsonExporterParameter
public class JRExporterParameter extends java.lang.Object
Deprecated.Instances of this class are used for defining and setting exporter parameters.The
JasperPrint
object needed for the export can be specified in many ways: an instance of JasperPrint, an input stream, a file on disk, or an URL. The export engine will search for this object through parameters in the following order: JASPER_PRINT_LIST, JASPER_PRINT, INPUT_STREAM, INPUT_URL, INPUT_FILE, INPUT_FILE_NAME.The output type of the export process can also vary: a string buffer, an output stream / writer of a file on disk. The order of parameters used by JasperReports when looking for the output depends on the final document format and is explained in detail for each format (see documentation for the children of this class).
JasperReports allows users to export only a page range from the entire report or even a single page. The engine first searches for the PAGE_INDEX parameter. If this is not present, it looks for the START_PAGE_INDEX and END_PAGE_INDEX parameters. The engine will try to narrow the page range (which is initially the entire report) by using these two parameters, if present.
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protected
JRExporterParameter(java.lang.String name)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
toString()
Deprecated.
-
-
-
Field Detail
-
JASPER_PRINT
public static final JRExporterParameter JASPER_PRINT
Deprecated.Replaced bySimpleExporterInput(JasperPrint)
.
-
JASPER_PRINT_LIST
public static final JRExporterParameter JASPER_PRINT_LIST
Deprecated.Replaced bySimpleExporterInput.getInstance(java.util.List)
.
-
INPUT_ITEM_LIST
public static final JRExporterParameter INPUT_ITEM_LIST
Deprecated.Replace bySimpleExporterInput(java.util.List)
-
INPUT_STREAM
public static final JRExporterParameter INPUT_STREAM
Deprecated.Replaced bySimpleExporterInput(java.io.InputStream)
.
-
INPUT_URL
public static final JRExporterParameter INPUT_URL
Deprecated.Replaced bySimpleExporterInput(java.net.URL)
.
-
INPUT_FILE
public static final JRExporterParameter INPUT_FILE
Deprecated.Replaced bySimpleExporterInput(java.io.File)
.
-
INPUT_FILE_NAME
public static final JRExporterParameter INPUT_FILE_NAME
Deprecated.Replaced bySimpleExporterInput(String)
.
-
OUTPUT_STRING_BUFFER
public static final JRExporterParameter OUTPUT_STRING_BUFFER
Deprecated.Replaced bySimpleWriterExporterOutput(StringBuffer)
.
-
OUTPUT_WRITER
public static final JRExporterParameter OUTPUT_WRITER
Deprecated.Replaced bySimpleWriterExporterOutput(java.io.Writer)
.
-
OUTPUT_STREAM
public static final JRExporterParameter OUTPUT_STREAM
Deprecated.
-
OUTPUT_FILE
public static final JRExporterParameter OUTPUT_FILE
Deprecated.
-
OUTPUT_FILE_NAME
public static final JRExporterParameter OUTPUT_FILE_NAME
Deprecated.
-
PAGE_INDEX
public static final JRExporterParameter PAGE_INDEX
Deprecated.Replaced byReportExportConfiguration.getPageIndex()
.
-
START_PAGE_INDEX
public static final JRExporterParameter START_PAGE_INDEX
Deprecated.Replaced byReportExportConfiguration.getStartPageIndex()
.
-
END_PAGE_INDEX
public static final JRExporterParameter END_PAGE_INDEX
Deprecated.Replaced byReportExportConfiguration.getEndPageIndex()
.
-
CHARACTER_ENCODING
public static final JRExporterParameter CHARACTER_ENCODING
-
PROGRESS_MONITOR
public static final JRExporterParameter PROGRESS_MONITOR
Deprecated.Replaced byReportExportConfiguration.getProgressMonitor()
.
-
OFFSET_X
public static final JRExporterParameter OFFSET_X
Deprecated.Replaced byReportExportConfiguration.getOffsetX()
.
-
OFFSET_Y
public static final JRExporterParameter OFFSET_Y
Deprecated.Replace byReportExportConfiguration.getOffsetY()
.
-
CLASS_LOADER
public static final JRExporterParameter CLASS_LOADER
Deprecated.Replaced byJasperReportsContext
.
-
URL_HANDLER_FACTORY
public static final JRExporterParameter URL_HANDLER_FACTORY
Deprecated.Replaced byJasperReportsContext
.URL stream handler factory to be used while exporting the report. The values should be of typejava.net.URLStreamHandlerFactory
.
-
HYPERLINK_PRODUCER_FACTORY
public static final JRExporterParameter HYPERLINK_PRODUCER_FACTORY
Deprecated.
-
FILTER
public static final JRExporterParameter FILTER
Deprecated.Replaced byReportExportConfiguration.getExporterFilter()
.
-
PROPERTY_EXPORT_PARAMETERS_OVERRIDE_REPORT_HINTS
public static final java.lang.String PROPERTY_EXPORT_PARAMETERS_OVERRIDE_REPORT_HINTS
Deprecated.A global (per context) property that establishes the priority of export parameters against report hints. If the property is true, export parameters override report hints; this is the default behavior. This property cannot be used as a report export hint.- See Also:
- Constant Field Values
-
PARAMETERS_OVERRIDE_REPORT_HINTS
public static final JRExporterParameter PARAMETERS_OVERRIDE_REPORT_HINTS
Deprecated.To be removed.Export parameter that can override thePROPERTY_EXPORT_PARAMETERS_OVERRIDE_REPORT_HINTS
property.
-
IGNORE_PAGE_MARGINS
public static final JRExporterParameter IGNORE_PAGE_MARGINS
Deprecated.
-
-