As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
i need to merge many (1000-5000 a4 ) pdfs in java what is the best way to do it in java ?
You can use iText.
iText PDF: your Java-PDF library
You can use iText to :
Serve PDF to a browser
Generate dynamic documents from XML files or databases
Use PDF's many interactive features
Add bookmarks, page numbers, watermarks, etc.
Split, concatenate, and manipulate PDF pages
Automate filling out of PDF forms
Add digital signatures to a PDF file
And much more...
Apache has a good library called PDFBox
Check out the documentation for the PDFMergeUtility
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I want to know that there is any solution to convert JSP pages to PHP pages.
Because I required these PHP pages to be integrate into Joomla.it is compulsion to use Joomla.There is no alternative to joomla.Hence we stucked to this conversion problem.So,we require any convertor or any alternative to convert JSP pages PHP page.
There is no reliable convertor apart from a human programmer that knows both languages. JSP and PHP are too far apart (not just the languages, also the APIs and libraries that you'll use with them) to make any kind of automatic conversion possible.
Any attempt to do so would require more programmer time to clean up the result than a complete rewrite in PHP.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Anyone know any existing library in the market? or open source project? The library should be able to convert picture or any images to cartoon-like image.
Please suggest me if you have use anything like that before.
Depends on what you mean by cartoon-like. Sometimes, applying some filters and doing some other minor operations might give you a decent result. If that is what you are after, you could use something like JavaCV (which is a wrapper for OpenCV.
This library should provide you with access to some graphical tools which should allow you to manipulate the image to obtain what you are after.
If on the other hand you are after a caricature type of cartoon, I think that you would need to use some AI techniques since caricatures usually involve the exaggeration of some physical feature, and for that, you would need AI to extract the said feature.
Finally, you can take a look at this previous SO thread which contains some other pointers on how you can convert an image to a cartoon.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I would like to implement charting and reporting module in my J2EE web application. I know there are many tools/technologies available like JasperReports , JFreeReport, jCharts ..ect. Please see more charts and reports tolls here.
Could anyone please suggest the best tool/technology which capable to handle reports and charts for large data?
Depends on your specific needs. For pure charting needs (as in drawing charts based on data), I'd use JFreeChart. If you are looking to have your data viewed in multiple formats (CSV, HTML, PDF) JFreeReport or Jasper may be a better fit.
Try Eclipse BIRT: http://www.eclipse.org/birt/phoenix/
"BIRT is an open source Eclipse-based reporting system that integrates with your Java/Java EE application to produce compelling reports."
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have a requirement to compare two XML documents and report differences. String comparison is not sufficient as I want to be able to say that:
<Foo/>
is the same as
<Foo></Foo>
Anyone used a library they would recommend?
There's the cunningly named xmldiff which I've used before with success.
XMLUnit also works well. It's primarily for use in unit tests (alongside JUnit).
or try diffxml:
The standard Unix tools diff and patch
are used to find the differences
between text files and to apply the
differences. These tools operate on a
line by line basis using well-studied
methods for computing the longest
common subsequence (LCS).
Using these tools on hierarchically
structured data (XML etc) leads to
sub-optimal results, as they are
incapable of recognizing the
tree-based structure of these files.
This project aims to provide Open
Source XML diff and patch utilities
which operate on the hierarchical
structure of XML documents.
What I always do is format both sides of the XML (xmllint -format) and diff the results.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm searching a small Java based RSS/Feed Generator, something like the FeedCreator.class.php library, any suggestions?, thanks!
There's the Rome framework as well
http://rometools.github.io/rome/
Does RSS and Atom
How about jRSS? It looks promising -- supports generating RSS 2 and is relatively small.
I used an API a few years back called ROME. I thought it was a breeze to set up and get going with.
i used Informa with success. especially useful if you plan to support multiple verison of rss (0.9-2.0) reasonable sized library , well documented.
a quite complete list con be found at http://java-source.net/open-source/rss-rdf-tools