aspose file tools*
The moose likes Other Open Source Projects and the fly likes Can iText generate regular text files? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Can iText generate regular text files?" Watch "Can iText generate regular text files?" New topic
Author

Can iText generate regular text files?

Jehan Jaleel
Ranch Hand

Joined: Apr 30, 2002
Posts: 196
Hi,

I know iText is an API for generating PDFs but can I also use it to generate regular txt files. My requirement is that some users want their reports in PDF and others as text files.

Thanks,
Jahan
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18991
    
    8

Jehan Jaleel wrote:I know iText is an API for generating PDFs but can I also use it to generate regular txt files.


No.

My requirement is that some users want their reports in PDF and others as text files.


Then use iText to generate the PDF files and something else to generate the text files.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42946
    
  70
Or use a library like PDFBox to extract the text out of the PDF :-)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can iText generate regular text files?