Hi all,
how can I write lines that I read from multiple files to one destination file in java??
the method write (FileWriter) can do this
When I read multiple files and save these line in string called for example "line" ..how can write line on the distination file? I want an helpful example for writing on file to understand that because I search on google but I don't get what I want ....
The method write that I used ...write only short string , and I want to copy contents of multiple files on one file....
Mar. Na. -3 Junior Poster in Training
Mar. Na. -3 Junior Poster in Training
rproffitt 2,662 "Nothing to see here." Moderator
Mar. Na. -3 Junior Poster in Training
Mar. Na. -3 Junior Poster in Training
rproffitt 2,662 "Nothing to see here." Moderator
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
Mar. Na. -3 Junior Poster in Training
Mar. Na. -3 Junior Poster in Training
Mar. Na. -3 Junior Poster in Training
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
Mar. Na. -3 Junior Poster in Training
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
Mar. Na. -3 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.