|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JasperReports
A JasperReports specific extension to ReportEngine.
Field Summary | |
---|---|
static String |
DESIGN_EXTENSION
The design file extension. |
static String |
PRINT_EXTENSION
The print file extension. |
static String |
REPORT_EXTENSION
The report file extension. |
Method Summary | |
---|---|
net.sf.jasperreports.engine.JasperReport |
compile(File source)
Compiles the specified design. |
net.sf.jasperreports.engine.JasperReport |
compile(InputStream input,
String encoding)
Compiles the specified design. |
net.sf.jasperreports.engine.JasperReport |
compile(net.sf.jasperreports.engine.design.JasperDesign design)
Compiles the specified design. |
net.sf.jasperreports.engine.JasperReport |
compile(Reader reader)
Compiles the specified design. |
net.sf.jasperreports.engine.JasperReport |
compile(String source)
Compiles the specified design. |
net.sf.jasperreports.engine.JasperReport |
compile(String key,
String source)
Compiles the specified design. |
net.sf.jasperreports.engine.JasperReport |
compile(URL source)
Compiles the specified design. |
String |
getCalculatorClassName()
Gets the calculator class name |
net.sf.jasperreports.engine.JasperReport |
interpret(File source)
Interprets the specified design. |
net.sf.jasperreports.engine.JasperReport |
interpret(InputStream input,
String encoding)
Interprets the specified design. |
net.sf.jasperreports.engine.JasperReport |
interpret(net.sf.jasperreports.engine.design.JasperDesign design)
Interprets the specified design. |
net.sf.jasperreports.engine.JasperReport |
interpret(Reader reader)
Interprets the specified design. |
net.sf.jasperreports.engine.JasperReport |
interpret(String source)
Interprets the specified design. |
net.sf.jasperreports.engine.JasperReport |
interpret(String key,
String source)
Interprets the specified design. |
net.sf.jasperreports.engine.JasperReport |
interpret(URL url)
Interprets the specified design. |
net.sf.jasperreports.engine.design.JasperDesign |
load(File source)
Loads the specified design. |
net.sf.jasperreports.engine.design.JasperDesign |
load(InputStream input,
String encoding)
Loads the specified design. |
net.sf.jasperreports.engine.design.JasperDesign |
load(Reader reader)
Loads the specified design. |
net.sf.jasperreports.engine.design.JasperDesign |
load(String source)
Loads the specified design. |
net.sf.jasperreports.engine.design.JasperDesign |
load(String key,
String source)
Loads the specified design. |
net.sf.jasperreports.engine.design.JasperDesign |
load(URL source)
Loads the specified design. |
ReportLayout |
process(net.sf.jasperreports.engine.JasperReport report,
Map<String,Object> params,
TableModel data)
Processes the specified report. |
net.sf.jasperreports.engine.JasperPrint |
publish(File source,
Map<String,Object> params,
net.sf.jasperreports.engine.JRDataSource data)
Publishes the specified design or report. |
net.sf.jasperreports.engine.JasperPrint |
publish(InputStream input,
Map<String,Object> params,
net.sf.jasperreports.engine.JRDataSource data)
Publishes the specified report. |
net.sf.jasperreports.engine.JasperPrint |
publish(net.sf.jasperreports.engine.design.JasperDesign design,
Map<String,Object> params,
net.sf.jasperreports.engine.JRDataSource data)
Publishes the specified design. |
net.sf.jasperreports.engine.JasperPrint |
publish(net.sf.jasperreports.engine.JasperReport report,
Map<String,Object> params,
net.sf.jasperreports.engine.JRDataSource data)
Publishes the specified report. |
net.sf.jasperreports.engine.JasperPrint |
publish(String source,
Map<String,Object> params,
net.sf.jasperreports.engine.JRDataSource data)
Publishes the specified design or report. |
net.sf.jasperreports.engine.JasperPrint |
publish(String key,
String source,
Map<String,Object> params,
net.sf.jasperreports.engine.JRDataSource data)
Publishes the specified design or report. |
net.sf.jasperreports.engine.JasperPrint |
publish(URL source,
Map<String,Object> params,
net.sf.jasperreports.engine.JRDataSource data)
Publishes the specified design or report. |
Object |
read(File source)
Reads the specified object. |
Object |
read(InputStream input)
Reads the specified object. |
Object |
read(String source)
Reads the specified object. |
Object |
read(String key,
String source)
Reads the specified object. |
Object |
read(URL source)
Reads the specified object. |
void |
setCalculatorClassName(String className)
Sets the calculator class name |
void |
write(Object source,
File target)
Writes the specified object. |
void |
write(Object source,
OutputStream output)
Writes the specified object. |
void |
write(Object source,
String target)
Writes the specified object. |
void |
write(Object source,
String key,
String target)
Writes the specified object. |
Methods inherited from interface org.norther.tammi.sprig.report.ReportEngine |
---|
createExporter, fill, getExporterClassName, getReportKey, parse, parse, parse, parse, parse, parse, process, process, process, process, process, process, removeExporterClassName, setExporterClassName, setReportKey |
Methods inherited from interface org.norther.tammi.core.config.Configurable |
---|
addProperty, addProperty, addPropertyFilePath, addPropertyFilePath, clearProperties, containsProperty, getConfigKey, getProperties, getProperty, getPropertyFilePath, getPropertyFilePaths, indexOfProperty, propertyMap, propertyMap, removeProperty, removeProperty, removePropertyFilePath, setConfigKey, setProperties, setProperty, setPropertyFilePath, setPropertyFilePath, setPropertyFilePaths, setPropertyFilePaths, storeProperties |
Field Detail |
---|
static final String DESIGN_EXTENSION
static final String REPORT_EXTENSION
static final String PRINT_EXTENSION
Method Detail |
---|
String getCalculatorClassName()
void setCalculatorClassName(String className)
className
- the calculator class name.ReportLayout process(net.sf.jasperreports.engine.JasperReport report, Map<String,Object> params, TableModel data) throws LogException
report
- the report.params
- the parameters.data
- the data model.
LogException
- on errors.net.sf.jasperreports.engine.design.JasperDesign load(String source) throws LogException
source
- the source path.
LogException
- on errors.net.sf.jasperreports.engine.design.JasperDesign load(String key, String source) throws LogException
key
- the path key.source
- the source path.
LogException
- on errors.net.sf.jasperreports.engine.design.JasperDesign load(File source) throws LogException
source
- the source file.
LogException
- on errors.net.sf.jasperreports.engine.design.JasperDesign load(URL source) throws LogException
source
- the source URL.
LogException
- on errors.net.sf.jasperreports.engine.design.JasperDesign load(Reader reader) throws LogException
reader
- the source reader.
LogException
- on errors.net.sf.jasperreports.engine.design.JasperDesign load(InputStream input, String encoding) throws LogException
input
- the source stream.encoding
- the encoding.
LogException
- on errors.net.sf.jasperreports.engine.JasperReport compile(String source) throws LogException
source
- the source path.
LogException
- on errors.net.sf.jasperreports.engine.JasperReport compile(String key, String source) throws LogException
key
- the path key.source
- the source path.
LogException
- on errors.net.sf.jasperreports.engine.JasperReport compile(File source) throws LogException
source
- the source file.
LogException
- on errors.net.sf.jasperreports.engine.JasperReport compile(URL source) throws LogException
source
- the source URL.
LogException
- on errors.net.sf.jasperreports.engine.JasperReport compile(Reader reader) throws LogException
reader
- the source reader.
LogException
- on errors.net.sf.jasperreports.engine.JasperReport compile(InputStream input, String encoding) throws LogException
input
- the source stream.encoding
- the encoding.
LogException
- on errors.net.sf.jasperreports.engine.JasperReport compile(net.sf.jasperreports.engine.design.JasperDesign design) throws LogException
design
- the design.
LogException
- on errors.net.sf.jasperreports.engine.JasperReport interpret(String source) throws LogException
source
- the source path.
LogException
- on errors.net.sf.jasperreports.engine.JasperReport interpret(String key, String source) throws LogException
key
- the path key.source
- the source path.
LogException
- on errors.net.sf.jasperreports.engine.JasperReport interpret(File source) throws LogException
source
- the source file.
LogException
- on errors.net.sf.jasperreports.engine.JasperReport interpret(URL url) throws LogException
url
- the source URL.
LogException
- on errors.net.sf.jasperreports.engine.JasperReport interpret(Reader reader) throws LogException
reader
- the source reader.
LogException
- on errors.net.sf.jasperreports.engine.JasperReport interpret(InputStream input, String encoding) throws LogException
input
- the source stream.encoding
- the encoding.
LogException
- on errors.net.sf.jasperreports.engine.JasperReport interpret(net.sf.jasperreports.engine.design.JasperDesign design) throws LogException
design
- the design.
LogException
- on errors.net.sf.jasperreports.engine.JasperPrint publish(String source, Map<String,Object> params, net.sf.jasperreports.engine.JRDataSource data) throws LogException
source
- the source path.params
- the parameters.data
- the data source.
LogException
- on errors.net.sf.jasperreports.engine.JasperPrint publish(String key, String source, Map<String,Object> params, net.sf.jasperreports.engine.JRDataSource data) throws LogException
key
- the path key.source
- the source path.params
- the parameters.data
- the data source.
LogException
- on errors.net.sf.jasperreports.engine.JasperPrint publish(File source, Map<String,Object> params, net.sf.jasperreports.engine.JRDataSource data) throws LogException
source
- the source file.params
- the parameters.data
- the data source.
LogException
- on errors.net.sf.jasperreports.engine.JasperPrint publish(URL source, Map<String,Object> params, net.sf.jasperreports.engine.JRDataSource data) throws LogException
source
- the source URL.params
- the parameters.data
- the data source.
LogException
- on errors.net.sf.jasperreports.engine.JasperPrint publish(InputStream input, Map<String,Object> params, net.sf.jasperreports.engine.JRDataSource data) throws LogException
input
- the source stream.params
- the parameters.data
- the data source.
LogException
- on errors.net.sf.jasperreports.engine.JasperPrint publish(net.sf.jasperreports.engine.design.JasperDesign design, Map<String,Object> params, net.sf.jasperreports.engine.JRDataSource data) throws LogException
design
- the source design.params
- the parameters.data
- the data source.
LogException
- on errors.net.sf.jasperreports.engine.JasperPrint publish(net.sf.jasperreports.engine.JasperReport report, Map<String,Object> params, net.sf.jasperreports.engine.JRDataSource data) throws LogException
report
- the report.params
- the parameters.data
- the data source.
LogException
- on errors.Object read(String source) throws LogException
source
- the source path.
LogException
- on errors.Object read(String key, String source) throws LogException
key
- the path key.source
- the source path.
LogException
- on errors.Object read(File source) throws LogException
source
- the source file.
LogException
- on errors.Object read(URL source) throws LogException
source
- the source URL.
LogException
- on errors.Object read(InputStream input) throws LogException
input
- the source stream.
LogException
- on errors.void write(Object source, String target) throws LogException
source
- the source object.target
- the target path.
LogException
- on errors.void write(Object source, String key, String target) throws LogException
source
- the source object.key
- the path key.target
- the target path.
LogException
- on errors.void write(Object source, File target) throws LogException
source
- the source object.target
- the target file.
LogException
- on errors.void write(Object source, OutputStream output) throws LogException
source
- the source object.output
- the target stream.
LogException
- on errors.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |