I have an urgent assignment to convert various file formats to PDF using java. I have gone through few APIs and not successfull so far. Can anyone give me a solution to this problem? Is thr any libraries i can use to do this???
The important thing is various file formats should be converted by the program.
It's hard to give specific advice since you don't say exactly which formats fall under "various formats". The most general approach to recommend would be to use the JODConverter library, which uses OpenOffice in server mode to convert between a variety of formats, including PDF as target format.