FOSS-List
Product |
Version |
Licence |
iTextSharp |
4.1.6 |
|
aes.js |
no version |
|
gson |
2.8.5 |
|
json-path |
2.4.0 |
|
spark-core |
2.9.1 |
|
commons-cli |
1.4 |
|
commons-logging |
1.2 |
|
javax.servlet-api |
3.1.0 |
|
junit |
4.11 |
|
log4j |
1.2.17 |
|
accessors-smart |
1.2 |
|
json-smart |
2.3 |
|
fontbox |
2.0.16 |
|
pdfbox |
2.0.16 |
|
websocket-api |
9.4.18.v20190429 |
|
websocket-client |
9.4.18.v20190429 |
|
websocket-common |
9.4.18.v20190429 |
|
websocket-server |
9.4.18.v20190429 |
|
websocket-servlet |
9.4.18.v20190429 |
|
jetty-client |
9.4.18.v20190429 |
|
jetty-http |
9.4.18.v20190429 |
|
jetty-io |
9.4.18.v20190429 |
|
jetty-security |
9.4.18.v20190429 |
|
jetty-server |
9.4.18.v20190429 |
|
jetty-servlet |
9.4.18.v20190429 |
|
jetty-util |
9.4.18.v20190429 |
|
jetty-webapp |
9.4.18.v20190429 |
|
jetty-xml |
9.4.18.v20190429 |
|
hamcrest-core |
1.3 |
|
json |
20180813 |
|
asm |
5.0.4 |
|
slf4j-api |
1.7.26 |
|
slf4j-log4j12 |
1.7.26 |
|
net.sf.jasperreports 1 |
6.14.0 |
https://mvnrepository.com/artifact/net.sf.jasperreports/jasperreports/6.14.0 |
1 JasperReports Library 6.1.14 is a free Java Reporting Library with LGPL license
Jasperreports is used for report generation when converting electronic invoices (German XRechnung) with the EASY Invoice itract converter.
The following source code is used to call functions with JasperReport:
public void create() {
try
{
logger.info(
"creating report: "
+ id);
byte[] bytes =
new
Gson().toJson(jo).getBytes(Charset.forName(
"UTF-8"
));
ByteArrayInputStream bis =
new
ByteArrayInputStream(bytes);
JsonDataSource ds =
new
JsonDataSource(bis);
ds.setLocale(Locale.US);
JasperPrint jasperPrint = JasperFillManager.fillReport(jrep,
new
HashMap(), ds);
result = JasperExportManager.exportReportToPdf(jasperPrint);
logger.info(
"report finished: "
+ id);
}
catch
(JRException ex) {
throw
new
RuntimeException(ex);
}
}