com.qintsoft.joria.runtimeapi
Class JoriaService

java.lang.Object
  extended by com.qintsoft.joria.runtimeapi.JoriaService

public class JoriaService
extends java.lang.Object

Class to create a JoriaRuntime


Constructor Summary
JoriaService()
           
 
Method Summary
static JoriaRuntime create(java.lang.String templateSetFileName)
           
static JoriaRuntime createGui(javax.swing.JFrame frame, java.lang.String templateSetFileName)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoriaService

public JoriaService()
Method Detail

create

public static JoriaRuntime create(java.lang.String templateSetFileName)
                           throws JoriaException
Parameters:
templateSetFileName - the name of the template file.
Returns:
A JoriaRuntime object that can be used to trigger reports and to control ReportWeaver.
Throws:
JoriaException - if the runtime engine could not be initialized.

createGui

public static JoriaRuntime createGui(javax.swing.JFrame frame,
                                     java.lang.String templateSetFileName)
                              throws JoriaException
Parameters:
templateSetFileName - the name of the template file.
frame - the frame to use as parent for reportweavers olutput windows.
Returns:
A JoriaRuntime object that can be used to trigger reports and to control ReportWeaver.
Throws:
JoriaException - if the runtime engine could not be initialized.