|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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.
| Field Summary |
|---|
| Fields inherited from class org.norther.tammi.core.config.DefaultConfigurable |
|---|
MODIFIED, SYNCHRONIZED, UNMODIFIED |
| 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 |
| Fields inherited from interface org.norther.tammi.core.base.MBeanDelegate |
|---|
ARRAY_TYPE, OBJECT_TYPE, PRIMITIVE_TYPE, STRING_TYPE |
| Constructor Summary | |
|---|---|
DefaultJasperReports()
Constructs a new engine. |
|
| Method Summary | |
|---|---|
JasperReport |
compile(File source)
Compiles the specified design. |
JasperReport |
compile(InputStream input)
Compiles the specified design. |
JasperReport |
compile(JasperDesign design)
Compiles the specified design. |
JasperReport |
compile(Reader reader)
Compiles the specified design. |
JasperReport |
compile(String source)
Compiles the specified design. |
JasperReport |
compile(String key,
String source)
Compiles the specified design. |
JasperReport |
compile(URL source)
Compiles the specified design. |
void |
fill(ReportLayout layout,
Map params,
TableModel data)
Fills the specified report layout. |
String |
getCalculatorClassName()
Gets the calculator class name |
JasperReport |
interpret(File source)
Interprets the specified design. |
JasperReport |
interpret(InputStream input)
Interprets the specified design. |
JasperReport |
interpret(JasperDesign design)
Interprets the specified design. |
JasperReport |
interpret(Reader reader)
Interprets the specified design. |
JasperReport |
interpret(String source)
Interprets the specified design. |
JasperReport |
interpret(String key,
String source)
Interprets the specified design. |
JasperReport |
interpret(URL source)
Interprets the specified design. |
JasperDesign |
load(File source)
Loads the specified design. |
JasperDesign |
load(InputStream input)
Loads the specified design. |
JasperDesign |
load(Reader reader)
Loads the specified design. |
JasperDesign |
load(String source)
Loads the specified design. |
JasperDesign |
load(String key,
String source)
Loads the specified design. |
JasperDesign |
load(URL source)
Loads the specified design. |
ReportLayout |
parse(InputStream input)
Parses a report layout from the specified source stream. |
ReportLayout |
parse(Reader reader)
Parses a report layout from the specified source reader. |
ReportLayout |
process(JasperReport report,
Map params,
TableModel data)
Processes the specified report. |
JasperPrint |
publish(File source,
Map params,
JRDataSource data)
Publishes the specified design or report. |
JasperPrint |
publish(InputStream input,
Map params,
JRDataSource data)
Publishes the specified report. |
JasperPrint |
publish(JasperDesign design,
Map params,
JRDataSource data)
Publishes the specified design. |
JasperPrint |
publish(JasperReport report,
Map params,
JRDataSource data)
Publishes the specified report. |
JasperPrint |
publish(String source,
Map params,
JRDataSource data)
Publishes the specified design or report. |
JasperPrint |
publish(String key,
String source,
Map params,
JRDataSource data)
Publishes the specified design or report. |
JasperPrint |
publish(URL source,
Map params,
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.config.DefaultConfigurable |
|---|
addProperty, addProperty, clearProperties, containsProperty, getConfigKey, getConfiguration, getModifiedState, getProperties, getProperty, getPropertyFilePath, indexOfProperty, loadConfiguration, loadConfiguration, loadConfiguration, modified, propertyMap, propertyMap, removeProperty, removeProperty, setConfigKey, setModifiedState, setProperties, setProperty, setPropertyFilePath, setPropertyFilePath, storeProperties |
| 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, clearProperties, containsProperty, getConfigKey, getProperties, getProperty, getPropertyFilePath, indexOfProperty, propertyMap, propertyMap, removeProperty, removeProperty, setConfigKey, setProperties, setProperty, setPropertyFilePath, setPropertyFilePath, storeProperties |
| Constructor Detail |
|---|
public DefaultJasperReports()
| Method Detail |
|---|
public String getCalculatorClassName()
JasperReports
getCalculatorClassName in interface JasperReportspublic void setCalculatorClassName(String className)
JasperReports
setCalculatorClassName in interface JasperReportsclassName - the calculator class name.
public ReportLayout parse(Reader reader)
throws LogException
ReportEngine
parse in interface ReportEnginereader - the source reader.
LogException - on errors.
public ReportLayout parse(InputStream input)
throws LogException
ReportEngine
parse in interface ReportEngineinput - the source stream.
LogException - on errors.
public void fill(ReportLayout layout,
Map params,
TableModel data)
throws LogException
ReportEngine
fill in interface ReportEnginelayout - the report layout.params - the parameters.data - the data model.
LogException - on errors.
public ReportLayout process(JasperReport report,
Map params,
TableModel data)
throws LogException
JasperReports
process in interface JasperReportsreport - the report.params - the parameters.data - the data model.
LogException - on errors.
public JasperDesign load(String source)
throws LogException
JasperReports
load in interface JasperReportssource - the source path.
LogException - on errors.
public JasperDesign load(String key,
String source)
throws LogException
JasperReports
load in interface JasperReportskey - the path key.source - the source path.
LogException - on errors.
public JasperDesign load(File source)
throws LogException
JasperReports
load in interface JasperReportssource - the source file.
LogException - on errors.
public JasperDesign load(URL source)
throws LogException
JasperReports
load in interface JasperReportssource - the source URL.
LogException - on errors.
public JasperDesign load(Reader reader)
throws LogException
JasperReports
load in interface JasperReportsreader - the source reader.
LogException - on errors.
public JasperDesign load(InputStream input)
throws LogException
JasperReports
load in interface JasperReportsinput - the source stream.
LogException - on errors.
public JasperReport compile(String source)
throws LogException
JasperReports
compile in interface JasperReportssource - the source path.
LogException - on errors.
public JasperReport compile(String key,
String source)
throws LogException
JasperReports
compile in interface JasperReportskey - the path key.source - the source path.
LogException - on errors.
public JasperReport compile(File source)
throws LogException
JasperReports
compile in interface JasperReportssource - the source file.
LogException - on errors.
public JasperReport compile(URL source)
throws LogException
JasperReports
compile in interface JasperReportssource - the source URL.
LogException - on errors.
public JasperReport compile(Reader reader)
throws LogException
JasperReports
compile in interface JasperReportsreader - the source reader.
LogException - on errors.
public JasperReport compile(InputStream input)
throws LogException
JasperReports
compile in interface JasperReportsinput - the source stream.
LogException - on errors.
public JasperReport compile(JasperDesign design)
throws LogException
JasperReports
compile in interface JasperReportsdesign - the design.
LogException - on errors.
public JasperReport interpret(String source)
throws LogException
JasperReports
interpret in interface JasperReportssource - the source path.
LogException - on errors.
public JasperReport interpret(String key,
String source)
throws LogException
JasperReports
interpret in interface JasperReportskey - the path key.source - the source path.
LogException - on errors.
public JasperReport interpret(File source)
throws LogException
JasperReports
interpret in interface JasperReportssource - the source file.
LogException - on errors.
public JasperReport interpret(URL source)
throws LogException
JasperReports
interpret in interface JasperReportssource - the source URL.
LogException - on errors.
public JasperReport interpret(Reader reader)
throws LogException
JasperReports
interpret in interface JasperReportsreader - the source reader.
LogException - on errors.
public JasperReport interpret(InputStream input)
throws LogException
JasperReports
interpret in interface JasperReportsinput - the source stream.
LogException - on errors.
public JasperReport interpret(JasperDesign design)
throws LogException
JasperReports
interpret in interface JasperReportsdesign - the design.
LogException - on errors.
public JasperPrint publish(String source,
Map params,
JRDataSource data)
throws LogException
JasperReports
publish in interface JasperReportssource - the source path.params - the parameters.data - the data source.
LogException - on errors.
public JasperPrint publish(String key,
String source,
Map params,
JRDataSource data)
throws LogException
JasperReports
publish in interface JasperReportskey - the path key.source - the source path.params - the parameters.data - the data source.
LogException - on errors.
public JasperPrint publish(File source,
Map params,
JRDataSource data)
throws LogException
JasperReports
publish in interface JasperReportssource - the source file.params - the parameters.data - the data source.
LogException - on errors.
public JasperPrint publish(URL source,
Map params,
JRDataSource data)
throws LogException
JasperReports
publish in interface JasperReportssource - the source URL.params - the parameters.data - the data source.
LogException - on errors.
public JasperPrint publish(InputStream input,
Map params,
JRDataSource data)
throws LogException
JasperReports
publish in interface JasperReportsinput - the source stream.params - the parameters.data - the data source.
LogException - on errors.
public JasperPrint publish(JasperDesign design,
Map params,
JRDataSource data)
throws LogException
JasperReports
publish in interface JasperReportsdesign - the source design.params - the parameters.data - the data source.
LogException - on errors.
public JasperPrint publish(JasperReport report,
Map params,
JRDataSource data)
throws LogException
JasperReports
publish in interface JasperReportsreport - the report.params - the parameters.data - the data source.
LogException - on errors.
public Object read(String source)
throws LogException
JasperReports
read in interface JasperReportssource - the source path.
LogException - on errors.
public Object read(String key,
String source)
throws LogException
JasperReports
read in interface JasperReportskey - the path key.source - the source path.
LogException - on errors.
public Object read(File source)
throws LogException
JasperReports
read in interface JasperReportssource - the source file.
LogException - on errors.
public Object read(URL source)
throws LogException
JasperReports
read in interface JasperReportssource - the source URL.
LogException - on errors.
public Object read(InputStream input)
throws LogException
JasperReports
read in interface JasperReportsinput - the source stream.
LogException - on errors.
public void write(Object source,
String target)
throws LogException
JasperReports
write in interface JasperReportssource - 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 JasperReportssource - the source object.key - the path key.target - the target path.
LogException - on errors.
public void write(Object source,
File target)
t