File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes  How to export 2D Array  to a FIle   Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark " How to export 2D Array  to a FIle   " Watch " How to export 2D Array  to a FIle   " New topic
Author

How to export 2D Array to a FIle

Dhan Priyan
Greenhorn

Joined: May 10, 2009
Posts: 12
I need to write to the any file type ( .txt, .csv) the results obtained @ the marked place with UPPER CASE.
I am dealing with 2D array here.
could any one help me.



Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19543
    
  16

What have you tried? You know how to read a file, is writing to a file that much harder?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
jittu goud
Ranch Hand

Joined: Mar 30, 2007
Posts: 46
use FileOutputStream to write your data to file
http://java.sun.com/j2se/1.4.2/docs/api/java/io/FileOutputStream.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to export 2D Array to a FIle
 
Similar Threads
Error printing out from a read in file.
to read lines inside brackets
Problem with reading txt file into 2d array
Regarding reading a file in a jsp
Reading one line from a text