|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.norther.tammi.core.base.Adaptee org.norther.tammi.core.config.DefaultConfigurable org.norther.tammi.sprig.report.AbstractReportEngine org.norther.tammi.sprig.jasper.DefaultJasperReports
public class DefaultJasperReports
A JasperReports specific implementation of ReportEngine.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.norther.tammi.core.config.DefaultConfigurable |
---|
DefaultConfigurable.Modified |
Field Summary |
---|
Fields inherited from class org.norther.tammi.core.base.Adaptee |
---|
ADAPTEE_NOTIF_DESCRIPTION, ADAPTEE_NOTIFICATIONS |
Fields inherited from interface org.norther.tammi.sprig.jasper.JasperReports |
---|
DESIGN_EXTENSION, PRINT_EXTENSION, REPORT_EXTENSION |
Constructor Summary | |
---|---|
DefaultJasperReports()
Constructs a new engine. |
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. |
void |
fill(ReportLayout layout,
Map<String,Object> params,
TableModel data)
Fills the specified report layout. |
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 source)
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 |
parse(InputStream input,
String encoding)
Parses a report layout from the specified source stream. |
ReportLayout |
parse(Reader reader)
Parses a report layout from the specified source reader. |
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 class org.norther.tammi.sprig.report.AbstractReportEngine |
---|
createExporter, getExporterClassName, getReportKey, parse, parse, parse, parse, process, process, process, process, process, process, removeExporterClassName, setExporterClassName, setReportKey |
Methods inherited from class org.norther.tammi.core.base.Adaptee |
---|
addAdaptee, addNotificationListener, getAttributeSupport, getBroker, getCanonicalName, getDomain, getFactory, getLoader, getLog, getLog, getMBean, getMBeanServer, getNotificationInfo, getObjectName, getRegistrationTime, getSequenceNumber, hasListeners, isRegistered, postmanaged, premanaged, removeNotificationListener, removeNotificationListener, sendNotification, sendNotification, sendNotification, sendNotification, unmanaged, unregister |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.norther.tammi.sprig.report.ReportEngine |
---|
createExporter, getExporterClassName, getReportKey, 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 |
Constructor Detail |
---|
public DefaultJasperReports()
Method Detail |
---|
public String getCalculatorClassName()
JasperReports
getCalculatorClassName
in interface JasperReports
public void setCalculatorClassName(String className)
JasperReports
setCalculatorClassName
in interface JasperReports
className
- the calculator class name.public ReportLayout parse(Reader reader) throws LogException
ReportEngine
parse
in interface ReportEngine
reader
- the source reader.
LogException
- on errors.public ReportLayout parse(InputStream input, String encoding) throws LogException
ReportEngine
parse
in interface ReportEngine
input
- the source stream.encoding
- the encoding.
LogException
- on errors.public void fill(ReportLayout layout, Map<String,Object> params, TableModel data) throws LogException
ReportEngine
fill
in interface ReportEngine
layout
- the report layout.params
- the parameters.data
- the data model.
LogException
- on errors.public ReportLayout process(net.sf.jasperreports.engine.JasperReport report, Map<String,Object> params, TableModel data) throws LogException
JasperReports
process
in interface JasperReports
report
- the report.params
- the parameters.data
- the data model.
LogException
- on errors.public net.sf.jasperreports.engine.design.JasperDesign load(String source) throws LogException
JasperReports
load
in interface JasperReports
source
- the source path.
LogException
- on errors.public net.sf.jasperreports.engine.design.JasperDesign load(String key, String source) throws LogException
JasperReports
load
in interface JasperReports
key
- the path key.source
- the source path.
LogException
- on errors.public net.sf.jasperreports.engine.design.JasperDesign load(File source) throws LogException
JasperReports
load
in interface JasperReports
source
- the source file.
LogException
- on errors.public net.sf.jasperreports.engine.design.JasperDesign load(URL source) throws LogException
JasperReports
load
in interface JasperReports
source
- the source URL.
LogException
- on errors.public net.sf.jasperreports.engine.design.JasperDesign load(Reader reader) throws LogException
JasperReports
load
in interface JasperReports
reader
- the source reader.
LogException
- on errors.public net.sf.jasperreports.engine.design.JasperDesign load(InputStream input, String encoding) throws LogException
JasperReports
load
in interface JasperReports
input
- the source stream.encoding
- the encoding.
LogException
- on errors.public net.sf.jasperreports.engine.JasperReport compile(String source) throws LogException
JasperReports
compile
in interface JasperReports
source
- the source path.
LogException
- on errors.public net.sf.jasperreports.engine.JasperReport compile(String key, String source) throws LogException
JasperReports
compile
in interface JasperReports
key
- the path key.source
- the source path.
LogException
- on errors.public net.sf.jasperreports.engine.JasperReport compile(File source) throws LogException
JasperReports
compile
in interface JasperReports
source
- the source file.
LogException
- on errors.public net.sf.jasperreports.engine.JasperReport compile(URL source) throws LogException
JasperReports
compile
in interface JasperReports
source
- the source URL.
LogException
- on errors.public net.sf.jasperreports.engine.JasperReport compile(Reader reader) throws LogException
JasperReports
compile
in interface JasperReports
reader
- the source reader.
LogException
- on errors.public net.sf.jasperreports.engine.JasperReport compile(InputStream input, String encoding) throws LogException
JasperReports
compile
in interface JasperReports
input
- the source stream.encoding
- the encoding.
LogException
- on errors.public net.sf.jasperreports.engine.JasperReport compile(net.sf.jasperreports.engine.design.JasperDesign design) throws LogException
JasperReports
compile
in interface JasperReports
design
- the design.
LogException
- on errors.public net.sf.jasperreports.engine.JasperReport interpret(String source) throws LogException
JasperReports
interpret
in interface JasperReports
source
- the source path.
LogException
- on errors.public net.sf.jasperreports.engine.JasperReport interpret(String key, String source) throws LogException
JasperReports
interpret
in interface JasperReports
key
- the path key.source
- the source path.
LogException
- on errors.public net.sf.jasperreports.engine.JasperReport interpret(File source) throws LogException
JasperReports
interpret
in interface JasperReports
source
- the source file.
LogException
- on errors.public net.sf.jasperreports.engine.JasperReport interpret(URL source) throws LogException
JasperReports
interpret
in interface JasperReports
source
- the source URL.
LogException
- on errors.public net.sf.jasperreports.engine.JasperReport interpret(Reader reader) throws LogException
JasperReports
interpret
in interface JasperReports
reader
- the source reader.
LogException
- on errors.public net.sf.jasperreports.engine.JasperReport interpret(InputStream input, String encoding) throws LogException
JasperReports
interpret
in interface JasperReports
input
- the source stream.encoding
- the encoding.
LogException
- on errors.public net.sf.jasperreports.engine.JasperReport interpret(net.sf.jasperreports.engine.design.JasperDesign design) throws LogException
JasperReports
interpret
in interface JasperReports
design
- the design.
LogException
- on errors.public net.sf.jasperreports.engine.JasperPrint publish(String source, Map<String,Object> params, net.sf.jasperreports.engine.JRDataSource data) throws LogException
JasperReports
publish
in interface JasperReports
source
- the source path.params
- the parameters.data
- the data source.
LogException
- on errors.public net.sf.jasperreports.engine.JasperPrint publish(String key, String source, Map<String,Object> params, net.sf.jasperreports.engine.JRDataSource data) throws LogException
JasperReports
publish
in interface JasperReports
key
- the path key.source
- the source path.params
- the parameters.data
- the data source.
LogException
- on errors.public net.sf.jasperreports.engine.JasperPrint publish(File source, Map<String,Object> params, net.sf.jasperreports.engine.JRDataSource data) throws LogException
JasperReports
publish
in interface JasperReports
source
- the source file.params
- the parameters.data
- the data source.
LogException
- on errors.public net.sf.jasperreports.engine.JasperPrint publish(URL source, Map<String,Object> params, net.sf.jasperreports.engine.JRDataSource data) throws LogException
JasperReports
publish
in interface JasperReports
source
- the source URL.params
- the parameters.data
- the data source.
LogException
- on errors.public net.sf.jasperreports.engine.JasperPrint publish(InputStream input, Map<String,Object> params, net.sf.jasperreports.engine.JRDataSource data) throws LogException
JasperReports
publish
in interface JasperReports
input
- the source stream.params
- the parameters.data
- the data source.
LogException
- on errors.public 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
JasperReports
publish
in interface JasperReports
design
- the source design.params
- the parameters.data
- the data source.
LogException
- on errors.public net.sf.jasperreports.engine.JasperPrint publish(net.sf.jasperreports.engine.JasperReport report, Map<String,Object> params, net.sf.jasperreports.engine.JRDataSource data) throws LogException
JasperReports
publish
in interface JasperReports
report
- the report.params
- the parameters.data
- the data source.
LogException
- on errors.public Object read(String source) throws LogException
JasperReports
read
in interface JasperReports
source
- the source path.
LogException
- on errors.public Object read(String key, String source) throws LogException
JasperReports
read
in interface JasperReports
key
- the path key.source
- the source path.
LogException
- on errors.public Object read(File source) throws LogException
JasperReports
read
in interface JasperReports
source
- the source file.
LogException
- on errors.public Object read(URL source) throws LogException
JasperReports
read
in interface JasperReports
source
- the source URL.
LogException
- on errors.public Object read(InputStream input) throws LogException
JasperReports
read
in interface JasperReports
input
- the source stream.
LogException
- on errors.public void write(Object source, String target) throws LogException
JasperReports
write
in interface JasperReports
source
- the source object.target
- the target path.
LogException
- on errors.public void write(Object source, String key, String target) throws LogException
JasperReports
write
in interface JasperReports
source
- the source object.key
- the path key.target
- the target path.
LogException
- on errors.public void write(Object source, File target) throws LogException
JasperReports
write
in interface JasperReports
source
- the source object.target
- the target file.
LogException
- on errors.public void write(Object source, OutputStream output) throws LogException
JasperReports
write
in interface JasperReports
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 |