public class Db extends Object
Db class.
Constructor and Description |
---|
Db()
Constructor for Db.
|
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection(Config config)
getConnection.
|
net.sf.jasperreports.engine.data.JRCsvDataSource |
getCsvDataSource(Config config)
getCsvDataSource.
|
net.sf.jasperreports.engine.data.JsonDataSource |
getJsonDataSource(Config config)
getJsonDataSource.
|
net.sf.jasperreports.engine.data.JsonQLDataSource |
getJsonQLDataSource(Config config)
getJsonQLDataSource.
|
net.sf.jasperreports.engine.data.JRXmlDataSource |
getXmlDataSource(Config config)
getXmlDataSource.
|
public net.sf.jasperreports.engine.data.JRCsvDataSource getCsvDataSource(Config config) throws net.sf.jasperreports.engine.JRException
getCsvDataSource.
config
- a Config
object.JRCsvDataSource
object.net.sf.jasperreports.engine.JRException
- if any.public net.sf.jasperreports.engine.data.JRXmlDataSource getXmlDataSource(Config config) throws net.sf.jasperreports.engine.JRException
getXmlDataSource.
config
- a Config
object.JRXmlDataSource
object.net.sf.jasperreports.engine.JRException
- if any.public net.sf.jasperreports.engine.data.JsonDataSource getJsonDataSource(Config config) throws net.sf.jasperreports.engine.JRException
getJsonDataSource.
config
- a Config
object.JsonDataSource
object.net.sf.jasperreports.engine.JRException
- if any.public net.sf.jasperreports.engine.data.JsonQLDataSource getJsonQLDataSource(Config config) throws net.sf.jasperreports.engine.JRException
getJsonQLDataSource.
config
- a Config
object.JsonQLDataSource
object.net.sf.jasperreports.engine.JRException
- if any.public Connection getConnection(Config config) throws ClassNotFoundException, SQLException
getConnection.
config
- a Config
object.Connection
object.ClassNotFoundException
- if any.SQLException
- if any.Copyright © 2012–2021 Cenote GmbH. All rights reserved.