This is a discussion on convert Excel file to CSV(or text) file using java within the Java Programming forums, part of the Software Development category; hi, is it possible of converting any Excel file (spreadsheets) to CSV(or text file) file using java ....
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| hi, is it possible of converting any Excel file (spreadsheets) to CSV(or text file) file using java . |
|
#2
| |||
| |||
| hi geek, If Java can be used to convert the data on an excel file to a plain text file, then it would be as simple as using a buffered reader to input the data from said text file into an application. Personally, this would help immensely with a program I am making that takes an excel file or a text file, extracts the data, allows the data to be manipulated, then outputs it to an excel or a text file. Of course, it is more complicated to deal with excel files, but much more imperative since the data involves tabs and it looks much better if the data is in an excel file than an ordinary text file.
__________________ cheers Aman |
|
#3
| |||
| |||
|
__________________ cheers Aman |
|
#4
| |||
| |||
| Quote:
Code: import officetools.OfficeFile; // available from dancrintea.ro/xls-to-pdf/
...
FileInputStream fis = new FileInputStream(new File("test.xls"));
FileOutputStream fos = new FileOutputStream(new File("test.csv"));
OfficeFile f = new OfficeFile(fis,"localhost","8100", true);
f.convert(fos,"csv"); XLS --> pdf, html, CSV doc --> pdf, html, txt, rtf ppt --> pdf, swf html --> pdf |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to read the text from a .pdf file? | vadivelanvaidyanathan | Software Testing | 0 | 01-28-2008 09:15 PM |
| File extension of the code file & object repository file in QTP | vigneshgets | Testing Tools | 1 | 01-16-2008 10:43 PM |
| how to convert excel file into csv? | senraj | PHP Programming | 3 | 10-25-2007 11:19 PM |
| How to convert a word document/text document/PDF file into an image file? | kingmaker | C# Programming | 0 | 07-16-2007 10:23 PM |
| File convert | varghese | PHP Programming | 0 | 07-11-2007 03:11 AM |
Our Partners |