Class BirtFactory


  • public class BirtFactory
    extends java.lang.Object
    BIRT Factory
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String module  
    • Constructor Summary

      Constructors 
      Constructor Description
      BirtFactory()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.eclipse.birt.report.engine.api.IReportEngine getReportEngine()
      get report engine
      static java.io.InputStream getReportInputStreamFromLocation​(java.lang.String resourceName)
      get report input stream from location
      static void setReportEngine​(org.eclipse.birt.report.engine.api.IReportEngine engine)
      set report engine
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • module

        public static final java.lang.String module
    • Constructor Detail

      • BirtFactory

        public BirtFactory()
    • Method Detail

      • setReportEngine

        public static void setReportEngine​(org.eclipse.birt.report.engine.api.IReportEngine engine)
        set report engine
        Parameters:
        engine -
      • getReportEngine

        public static org.eclipse.birt.report.engine.api.IReportEngine getReportEngine()
        get report engine
        Returns:
      • getReportInputStreamFromLocation

        public static java.io.InputStream getReportInputStreamFromLocation​(java.lang.String resourceName)
                                                                    throws java.io.IOException,
                                                                           org.xml.sax.SAXException,
                                                                           javax.xml.parsers.ParserConfigurationException
        get report input stream from location
        Parameters:
        resourceName -
        Returns:
        returns the input stream from location
        Throws:
        java.io.IOException
        org.xml.sax.SAXException
        javax.xml.parsers.ParserConfigurationException