Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I would like to know the best way to generate reports in java. I have written a small code in java which reads data from my csv file and printing in console. how can i pass this data to my HTML reports.
Thanks in advance
The two options I would consider for creating an HTML representation of your data are Apache Velocity & Freemarker. Both of these are easy to use template engines that separate the generation & formatting of the output from the Java code which I find improves maintainability.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I have SQL expression for Postgres. And i want to get Abstract syntax tree to manipulate this from Java program.
I have found sqlite-parser (find it google, please, I have not enough reputation) from code-school but it`s in develop.
So, do you know another parsers that could execute from Java program ? If it is possible, write almost stable parsers, please.
https://github.com/lfittl/pg_query This library using native functions from Postgres engine to build tree from SQL
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I need to convert XML file to PDF using Java, is there any decent alternative to XSLT / anything to make the process of creating XSLT file less excruciating?.
Is there any way to get "live preview" instead of generating the file every time to check my changes?
ApacheFOP could be of help! Check this out
Nimbus is a free to use XSL designer based on html and css.
It allows you to create XSL for XSL FO applications.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Trying to write html in Java I keep finding myself writing methods like
public String makeHyperlink(String hyperlink, String text)
{
return "" + text + "\n";
}
to make it more palatable.
Does anyone know of library that already exists for such stuff, I did look but could not find anything.
If you're searching for a library capable of manipulating html documents, JSOUP is pretty useful! But depending on what you have to do you can use a vast set of tools and/or framework, such as jetty or spring, where you can write dynamic jstl pages which output html documents.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I am in the process of using Java to read javadocs.
My java object has the attributes,
Description
Package Name
Method Name, Method Description
Is there any existing api that can do this?
How can I read the javadoc in such a way that I can extract the above mentioned attributes?
The javadoc tool includes an API for writing custom doclets. These basically get the parsed tree of documentation fragments and they generate some kind of report based on that. The standard doclet generates the HTML pages everyone is familiar with. Your easiest option is likely to write your own doclet.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I have extracted a number of OleObject files from a Word DOCX document (oleObject1.bin ... etc.) Is there Open Source code (primarily in Java) to read this. (I would only be interested in *.net code if it can be easily ported to Java). I am not interested in the rest of the Word document (in this question). There is an Apache project (http://poi.apache.org/) - I'd be interested in how well this works
Apache POI - POIFS is a Java implementation of the OLE 2 Compound Document format. In my experience it works pretty well for the sort of scenario you are reffering to. Check it out.