List Info

Thread: How can I produce a csv file via running jxl




How can I produce a csv file via running jxl
country flaguser name
United States
2008-06-05 10:38:40

Hi Guys,

Please advise me how I can create csv file by running jxl using the
command line? I'm not Java guru and trying to use just the command line

The Demo says that I can use the following :
java -jar jxl.jar -csv file.csv

But I have the data in csv format have been displayed to the screen by
default, not saved into the csv file.

The second question is - is it pollible to change the separator, Tab
instead of comma as the instance?

Thanks in Advance

__._,_.___
.

__,_._,___
Re: How can I produce a csv file via running jxl
country flaguser name
United States
2008-06-05 11:00:38


This isn't really a Java answer, but it's not really a Java question, but if you're running it via a Unix/Linux command line, just send the output to a file by adding the close angle bracket (>) and the filename you want. I believe this works the same way in DOS/Windows also.

Alternately, you could wrap the CSV conversion function in the source code inside your own method that writes it to a file. The conversion function will write to any OutputStream.
-Ryan Reynolds

"Madness and truth become in the last analysis indistinguishable." -- S. Kierkegaard

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )