aspose file tools*
The moose likes I/O and Streams and the fly likes PDF files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "PDF files" Watch "PDF files" New topic
Author

PDF files

GK
Greenhorn

Joined: Jan 25, 2001
Posts: 26
Can java IO Streams read PDF files???

Gunjan
arvind s
Greenhorn

Joined: Dec 18, 2000
Posts: 6
No. You will have to call acrobat reader from the console and pass your file into it.
Runtime.getRuntime().exec("AcroRd32.exe" + "filename");
Carl Trusiak
Sheriff

Joined: Jun 13, 2000
Posts: 3340
Actually yes, Java IO can read a PDF (after all it's simply a byte[]). If you want to display it, then arvind s provides the best answer. If you want to manipulate the Objects or even add to it, take a look at iText or etymon for help and guidance.

------------------
Hope This Helps
Carl Trusiak


I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: PDF files